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继承者每次DependencyObject不作为存储的数据成员DependencyProperty设置。This method should be called by Freezable inheritors each time a DependencyObject data member that is not stored as a DependencyProperty is set.

此方法不需要为其调用DependencyObject使用存储的数据成员DependencyPropertyThis 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.

适用于