Share via


BindableObject.OnPropertyChanged(String) Method

Definition

Call this method from a child class to notify that a change happened on a property.

protected virtual void OnPropertyChanged (string propertyName = default);
abstract member OnPropertyChanged : string -> unit
override this.OnPropertyChanged : string -> unit

Parameters

propertyName
System.String

The name of the property that changed.

Remarks

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

Applies to