Freezable.OnFreezablePropertyChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Ensures that appropriate context pointers are established for a data member of type DependencyObject that has just been modified.
Overloads
OnFreezablePropertyChanged(DependencyObject, DependencyObject) |
Ensures that appropriate context pointers are established for a DependencyObjectType data member that has just been set. |
OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty) |
This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. |
OnFreezablePropertyChanged(DependencyObject, DependencyObject)
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)
Parameters
- oldValue
- DependencyObject
The previous value of the data member.
- newValue
- DependencyObject
The current value of the data member.
Remarks
This method should be called by Freezable inheritors each time a DependencyObject data member that is not stored as a DependencyProperty is set.
This method does not need to be called for DependencyObject data members that are stored using a DependencyProperty.
Applies to
OnFreezablePropertyChanged(DependencyObject, DependencyObject, DependencyProperty)
This member supports the 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)
Parameters
- oldValue
- DependencyObject
The previous value of the data member.
- newValue
- DependencyObject
The current value of the data member.
- property
- DependencyProperty
The property that changed.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈