Export (0) Print
Expand All

DependencyPropertyChangedEventArgs.DependencyPropertyChangedEventArgs Constructor

Initializes a new instance of the DependencyPropertyChangedEventArgs class.

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

'Declaration
Public Sub New ( _
	property As DependencyProperty, _
	oldValue As Object, _
	newValue As Object _
)
'Usage
Dim property As DependencyProperty
Dim oldValue As Object
Dim newValue As Object

Dim instance As New DependencyPropertyChangedEventArgs(property, oldValue, newValue)
public DependencyPropertyChangedEventArgs (
	DependencyProperty property, 
	Object oldValue, 
	Object newValue
)
public function DependencyPropertyChangedEventArgs (
	property : DependencyProperty, 
	oldValue : Object, 
	newValue : Object
)
You cannot use constructors in XAML.

Parameters

property

The identifier for the dependency property that changed.

oldValue

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

newValue

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft