ObservableObject.OnPropertyChanged Method

Definition

Overloads

OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event.

OnPropertyChanged(String)

Raises the PropertyChanged event.

OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event.

protected virtual void OnPropertyChanged (System.ComponentModel.PropertyChangedEventArgs e);
abstract member OnPropertyChanged : System.ComponentModel.PropertyChangedEventArgs -> unit
override this.OnPropertyChanged : System.ComponentModel.PropertyChangedEventArgs -> unit
Protected Overridable Sub OnPropertyChanged (e As PropertyChangedEventArgs)

Parameters

Applies to

OnPropertyChanged(String)

Raises the PropertyChanged event.

protected void OnPropertyChanged (string? propertyName = default);
member this.OnPropertyChanged : string -> unit
Protected Sub OnPropertyChanged (Optional propertyName As String = Nothing)

Parameters

propertyName
String

(optional) The name of the property that changed.

Applies to