PropertyEntry.OnPropertyChanged 方法

定义

引发 PropertyChanged 事件。

重载

OnPropertyChanged(PropertyChangedEventArgs)

引发 INotifyPropertyChanged PropertyChanged 事件。

OnPropertyChanged(String)

INotifyPropertyChanged 侦听到 PropertyContainerEditMode 已更改时,引发 PropertyValue 事件。

OnPropertyChanged(PropertyChangedEventArgs)

引发 INotifyPropertyChanged PropertyChanged 事件。

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)

参数

e
PropertyChangedEventArgs

此事件的 EventArgs。

适用于

OnPropertyChanged(String)

INotifyPropertyChanged 侦听到 PropertyContainerEditMode 已更改时,引发 PropertyValue 事件。

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)

参数

propertyName
String

其值已更改的属性的名称。

适用于