RoutedEventArgs Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Contains state information and event data associated with a routed event.
Assembly: System.Windows (in System.Windows.dll)
The RoutedEventArgs type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
This class is responsible for packaging the event data for a routed event, providing extra event state information, and is used by the event system for invoking the handler associated with the routed event.
The most relevant information carried in the event data is the OriginalSource, which reports the object that first raised the event. In the case of a bubbling routed event, this could be a different object in the element tree than the object where the handler being invoked is attached.
System::EventArgs
System.Windows::RoutedEventArgs
System.Windows.Controls::CleanUpVirtualizedItemEventArgs
System.Windows.Controls::ContentChangedEventArgs
System.Windows.Controls.Primitives::DragCompletedEventArgs
System.Windows.Controls.Primitives::DragDeltaEventArgs
System.Windows.Controls.Primitives::DragStartedEventArgs
System.Windows.Controls.Primitives::ScrollEventArgs
System.Windows.Controls::SelectionChangedEventArgs
System.Windows.Controls::TextChangedEventArgs
System.Windows.Controls::ValidationErrorEventArgs
System.Windows::DragEventArgs
System.Windows::ExceptionRoutedEventArgs
System.Windows.Input::GestureEventArgs
System.Windows.Input::KeyEventArgs
System.Windows.Input::ManipulationCompletedEventArgs
System.Windows.Input::ManipulationDeltaEventArgs
System.Windows.Input::ManipulationStartedEventArgs
System.Windows.Input::MouseEventArgs
System.Windows.Input::TextCompositionEventArgs
System.Windows.Media::LogReadyRoutedEventArgs
System.Windows.Media::TimelineMarkerRoutedEventArgs
System.Windows::RoutedPropertyChangedEventArgs<T>
System.Windows::SizeChangedEventArgs


