ContentElement.RaiseEvent Method (RoutedEventArgs)
Assembly: PresentationCore (in PresentationCore.dll)
The e parameter is typed as the common base type for all data; however, the event data should be given as the most specific event data type that is available for the event being raised, because RoutedEventArgs derived classes contain the actual specific data properties that are intended for the specific event when it is raised.GTMT
RoutedEventArgs is not just the state properties for the event; it also identifies which routed event to raise. This event-raising pattern and the routed event data both differ from common language runtime (CLR) events and data classes, which typically just contain properties that are related to the event.
Available since 3.0