Edit

Share via


PropertyValue.OnPropertyChanged Method

Definition

Raises the PropertyChanged event when the property value has changed.

Overloads

OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event with the specified PropertyChangedEventArgs objects.

OnPropertyChanged(String)

Raises the PropertyChanged event that uses the name of the property that changed.

OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event with the specified PropertyChangedEventArgs objects.

protected:
 virtual void OnPropertyChanged(System::ComponentModel::PropertyChangedEventArgs ^ e);
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

e
PropertyChangedEventArgs

A PropertyChangedEventArgs object that provides the name of the property that changed.

Applies to

OnPropertyChanged(String)

Raises the PropertyChanged event that uses the name of the property that changed.

protected:
 virtual void OnPropertyChanged(System::String ^ propertyName);
protected virtual void OnPropertyChanged (string propertyName);
abstract member OnPropertyChanged : string -> unit
override this.OnPropertyChanged : string -> unit
Protected Overridable Sub OnPropertyChanged (propertyName As String)

Parameters

propertyName
String

The name of the property that changed.

Applies to