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.

适用于