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 = default);
abstract member OnPropertyChanging : string -> unit
override this.OnPropertyChanging : string -> unit

Parameters

propertyName
System.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