RoutedPropertyChangedEventArgs(T) Constructor (T, T, RoutedEvent)

RoutedPropertyChangedEventArgs<T> Constructor (T, T, RoutedEvent)

Initializes a new instance of the RoutedPropertyChangedEventArgs<T> class, with provided old and new values, and an event identifier.

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

public RoutedPropertyChangedEventArgs(
	T oldValue,
	T newValue,
	RoutedEvent routedEvent
You cannot use constructors in XAML.


Type: T

Previous value of the property, prior to the event being raised.

Type: T

Current value of the property at the time of the event.

Type: System.Windows.RoutedEvent

Identifier of the routed event that this arguments class carries information for.

The types passed for oldValue and newValue must match the declared constraints of the specific generic.

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

© 2016 Microsoft