Freezable.OnPropertyChanged(DependencyPropertyChangedEventArgs) Freezable.OnPropertyChanged(DependencyPropertyChangedEventArgs) Freezable.OnPropertyChanged(DependencyPropertyChangedEventArgs) Freezable.OnPropertyChanged(DependencyPropertyChangedEventArgs) Method

定義

覆寫 OnPropertyChanged(DependencyPropertyChangedEventArgs)DependencyObject 實作也可以叫用任何 Changed 處理常式,以回應類型 Freezable 的變更相依性屬性。Overrides the DependencyObject implementation of OnPropertyChanged(DependencyPropertyChangedEventArgs) to also invoke any Changed handlers in response to a changing dependency property of type Freezable.

protected:
 override void OnPropertyChanged(System::Windows::DependencyPropertyChangedEventArgs e);
protected override void OnPropertyChanged (System.Windows.DependencyPropertyChangedEventArgs e);
override this.OnPropertyChanged : System.Windows.DependencyPropertyChangedEventArgs -> unit
Protected Overrides Sub OnPropertyChanged (e As DependencyPropertyChangedEventArgs)

參數

e
DependencyPropertyChangedEventArgs DependencyPropertyChangedEventArgs DependencyPropertyChangedEventArgs DependencyPropertyChangedEventArgs

事件資料包含已變更哪個屬性的相關資訊,及舊值和新值。Event data that contains information about which property changed, and its old and new values.

備註

事件資料包含本身的Freezable相關資訊。The event data contains information about only the Freezable itself. 所有子屬性資訊都必須透過Changed處理常式取得。Any sub-property information must be obtained through the Changed handlers.

適用於