This documentation is archived and is not being maintained.

RoutedPropertyChangedEventArgs<T> Class

Provides data about a change in value to a dependency property as reported by particular routed events, including the previous and current value of the property that changed.

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

public class RoutedPropertyChangedEventArgs<T> : RoutedEventArgs
You cannot directly create an instance of this class in XAML.

Type Parameters


The type of the dependency property that has changed.

This is a generic class where the class is used for event data of different events. Different routed events can specify the type constraint of the generic to produce a type-specific event data class. Once the class is constrained, the OldValue and NewValue properties also reflect these type constraints; thus you can use a common event data class for different property changed events without requiring different delegates for each possible property type.

Routed events that reports a property change where the delegate incorporates this event data class include ValueChanged, where the type constraint (and old and new values passed in the arguments) is of type Double, and SelectedItemChanged, where the type constraint is Object.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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