BindableObject.OnPropertyChanging(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.