Freezable.OnFreezablePropertyChanged 方法

定義

確定已為型別為 DependencyObject 且剛剛修改過的資料成員,建立適當的內容指標。Ensures that appropriate context pointers are established for a data member of type DependencyObject that has just been modified.

多載

OnFreezablePropertyChanged(DependencyObject, DependencyObject)

確定已為剛剛設定的 DependencyObjectType 資料成員,建立適當的內容指標。Ensures that appropriate context pointers are established for a DependencyObjectType data member that has just been set.

OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty)

這個成員支援 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基礎結構,但是您不可以從程式碼直接使用它。This member supports the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

OnFreezablePropertyChanged(DependencyObject, DependencyObject)

確定已為剛剛設定的 DependencyObjectType 資料成員,建立適當的內容指標。Ensures that appropriate context pointers are established for a DependencyObjectType data member that has just been set.

protected:
 void OnFreezablePropertyChanged(System::Windows::DependencyObject ^ oldValue, System::Windows::DependencyObject ^ newValue);
protected void OnFreezablePropertyChanged (System.Windows.DependencyObject oldValue, System.Windows.DependencyObject newValue);
member this.OnFreezablePropertyChanged : System.Windows.DependencyObject * System.Windows.DependencyObject -> unit
Protected Sub OnFreezablePropertyChanged (oldValue As DependencyObject, newValue As DependencyObject)

參數

oldValue
DependencyObject

資料成員先前的值。The previous value of the data member.

newValue
DependencyObject

資料成員目前的值。The current value of the data member.

備註

每當設定未儲存為 DependencyPropertyDependencyObject 資料成員時,Freezable 繼承者都應該呼叫這個方法。This method should be called by Freezable inheritors each time a DependencyObject data member that is not stored as a DependencyProperty is set.

對於使用 DependencyProperty儲存的 DependencyObject 資料成員,不需要呼叫這個方法。This method does not need to be called for DependencyObject data members that are stored using a DependencyProperty.

OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty)

這個成員支援 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 基礎結構,但是您不可以從程式碼直接使用它。This member supports the Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

protected:
 void OnFreezablePropertyChanged(System::Windows::DependencyObject ^ oldValue, System::Windows::DependencyObject ^ newValue, System::Windows::DependencyProperty ^ property);
protected void OnFreezablePropertyChanged (System.Windows.DependencyObject oldValue, System.Windows.DependencyObject newValue, System.Windows.DependencyProperty property);
member this.OnFreezablePropertyChanged : System.Windows.DependencyObject * System.Windows.DependencyObject * System.Windows.DependencyProperty -> unit
Protected Sub OnFreezablePropertyChanged (oldValue As DependencyObject, newValue As DependencyObject, property As DependencyProperty)

參數

oldValue
DependencyObject

資料成員先前的值。The previous value of the data member.

newValue
DependencyObject

資料成員目前的值。The current value of the data member.

property
DependencyProperty

已變更的屬性。The property that changed.

適用於