DependencyPropertyChangedEventArgs Constructor

DependencyPropertyChangedEventArgs Constructor (DependencyProperty, Object, Object)

 

Initializes a new instance of the DependencyPropertyChangedEventArgs class.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public DependencyPropertyChangedEventArgs(
	DependencyProperty property,
	object oldValue,
	object newValue
)

Parameters

property
Type: System.Windows.DependencyProperty

The identifier for the dependency property that changed.

oldValue
Type: System.Object

The value of the property before the change reported by the relevant event or state change.

newValue
Type: System.Object

The value of the property after the change reported by the relevant event or state change.

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.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft