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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
)

Parameters

oldValue
Type: T

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

newValue
Type: T

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

routedEvent
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.

.NET Framework
Available since 3.0
Return to top
Show: