共用方式為


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

已變更其值之屬性的名稱。

適用於