Represents methods that will handle various routed events that track property value changes.
Assembly: PresentationFramework (in PresentationFramework.dll)
generic<typename T> public delegate void RoutedPropertyChangedEventHandler( Object^ sender, RoutedPropertyChangedEventArgs<T>^ e )
The type of the property value where changes in value are reported.
- Type: System::Object
The object where the event handler is attached.
The following example defines and attaches a handler method for the ValueChanged event.
The handler is based on , and is defined in the second segment of the code example, with the type parameter of the generic constrained to Double.
This particular example does not use the routed-event characteristic of the event; the event is handled on the same element that it is raised on. This is not always the case. For a routed event, it is possible that the source of the event is a different object than the object where the handler is attached.