Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DependencyPropertyChangedEventArgs Constructor

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft