BindableObject.OnPropertyChanging(String) BindableObject.OnPropertyChanging(String) Method

Definition

Call this method from a child class to notify that a change is going to happen on a property.

protected virtual void OnPropertyChanging (string propertyName = null);
abstract member OnPropertyChanging : string -> unit
override this.OnPropertyChanging : string -> unit
Parameters
propertyName
String String

The name of the property that is changing.

Remarks

A BindableProperty triggers this by itself. An inheritor only needs to call this for properties without BindableProperty as the backend store.

Applies to