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
)
You cannot use constructors in XAML.

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2014 Microsoft