Επεξεργασία

Κοινή χρήση μέσω


DependencyPropertyChangedEventArgs(DependencyProperty, Object, Object) Constructor

Definition

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