แก้ไข

แชร์ผ่าน


PropertyEntry.OnPropertyChanged Method

Definition

Raises the PropertyChanged event.

Overloads

OnPropertyChanged(PropertyChangedEventArgs)

Raises the INotifyPropertyChanged PropertyChanged event.

OnPropertyChanged(String)

Raises the INotifyPropertyChanged event when the PropertyContainerEditMode hears that the PropertyValue has changed.

OnPropertyChanged(PropertyChangedEventArgs)

Raises the INotifyPropertyChanged PropertyChanged event.

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

The EventArgs for this event.

Applies to

OnPropertyChanged(String)

Raises the INotifyPropertyChanged event when the PropertyContainerEditMode hears that the PropertyValue has 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 whose value has changed.

Applies to