Contains state information and event data associated with a routed event.
Namespace:
System.Windows
Assembly:
System.Windows (in System.Windows.dll)
Visual Basic (Declaration)
Public Class RoutedEventArgs _
Inherits EventArgs
Dim instance As RoutedEventArgs
public class RoutedEventArgs : EventArgs
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.
In WPF, there is a concept of a Source property that is separate from OriginalSource. This distinction is not present in Silverlight 2, because classes cannot adjust the reported source of a routed event in the Silverlight 2 event system. (In WPF, control classes sometimes adjust the event source as part of their compositing logic.)
System..::.Object
System..::.EventArgs
System.Windows..::.RoutedEventArgs
System.Windows.Controls..::.CalendarDateChangedEventArgs
System.Windows.Controls..::.CalendarModeChangedEventArgs
System.Windows.Controls..::.CleanUpVirtualizedItemEventArgs
System.Windows.Controls..::.PopulatedEventArgs
System.Windows.Controls..::.PopulatingEventArgs
System.Windows.Controls.Primitives..::.DragCompletedEventArgs
System.Windows.Controls.Primitives..::.DragDeltaEventArgs
System.Windows.Controls.Primitives..::.DragStartedEventArgs
System.Windows.Controls.Primitives..::.ScrollEventArgs
System.Windows.Controls..::.RoutedPropertyChangingEventArgs<(Of <(T>)>)
System.Windows.Controls..::.SelectionChangedEventArgs
System.Windows.Controls..::.TextChangedEventArgs
System.Windows.Controls..::.ValidationErrorEventArgs
System.Windows..::.ExceptionRoutedEventArgs
System.Windows.Input..::.KeyEventArgs
System.Windows.Input..::.MouseEventArgs
System.Windows.Media..::.LogReadyRoutedEventArgs
System.Windows.Media..::.TimelineMarkerRoutedEventArgs
System.Windows..::.RoutedPropertyChangedEventArgs<(Of <(T>)>)
System.Windows..::.SizeChangedEventArgs
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Reference