Freezable.OnFreezablePropertyChanged Freezable.OnFreezablePropertyChanged Freezable.OnFreezablePropertyChanged Freezable.OnFreezablePropertyChanged Method

定义

确保为刚刚修改的类型 DependencyObject 的数据成员建立适当的上下文指针。Ensures that appropriate context pointers are established for a data member of type DependencyObject that has just been modified.

重载

OnFreezablePropertyChanged(DependencyObject, DependencyObject) OnFreezablePropertyChanged(DependencyObject, DependencyObject) OnFreezablePropertyChanged(DependencyObject, DependencyObject) 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) OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty) OnFreezablePropertyChanged(DependencyObject, DependencyObject, 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.

OnFreezablePropertyChanged(DependencyObject, DependencyObject) OnFreezablePropertyChanged(DependencyObject, DependencyObject) OnFreezablePropertyChanged(DependencyObject, DependencyObject) 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 DependencyObject DependencyObject DependencyObject

数据成员以前的值。The previous value of the data member.

newValue
DependencyObject DependencyObject DependencyObject DependencyObject

数据成员当前的值。The current value of the data member.

注解

Freezable 次不将存储DependencyProperty为的数据成员设置为时,继承者都应调用此方法。DependencyObjectThis method should be called by Freezable inheritors each time a DependencyObject data member that is not stored as a DependencyProperty is set.

DependencyObject 对于DependencyProperty使用存储的数据成员, 不需要调用此方法。This method does not need to be called for DependencyObject data members that are stored using a DependencyProperty.

OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty) OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty) OnFreezablePropertyChanged(DependencyObject, DependencyObject, 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 DependencyObject DependencyObject DependencyObject

数据成员以前的值。The previous value of the data member.

newValue
DependencyObject DependencyObject DependencyObject DependencyObject

数据成员当前的值。The current value of the data member.

property
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

已更改的属性。The property that changed.

适用于