DependencyPropertyChangedEventArgs(DependencyProperty, Object, Object) Constructor
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.
Initializes a new instance of the DependencyPropertyChangedEventArgs class.
public:
DependencyPropertyChangedEventArgs(System::Windows::DependencyProperty ^ property, System::Object ^ oldValue, System::Object ^ newValue);
public DependencyPropertyChangedEventArgs (System.Windows.DependencyProperty property, object oldValue, object newValue);
new System.Windows.DependencyPropertyChangedEventArgs : System.Windows.DependencyProperty * obj * obj -> System.Windows.DependencyPropertyChangedEventArgs
Public Sub New (property As DependencyProperty, oldValue As Object, newValue As Object)
Parameters
- property
- DependencyProperty
The identifier for the dependency property that changed.
- oldValue
- Object
The value of the property before the change reported by the relevant event or state change.
- newValue
- Object
The value of the property after the change reported by the relevant event or state change.
Remarks
Implementers of custom events that report dependency property changes should use this constructor for populating the event data with the specifics of the change when the event is raised.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈