RoutedEventArgs Class
.NET Framework 4.6 and 4.5
Contains state information and event data associated with a routed event.
Namespace: System.Windows
Assembly: PresentationCore (in PresentationCore.dll)
The RoutedEventArgs type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | RoutedEventArgs() | Initializes a new instance of the RoutedEventArgs class. |
![]() | RoutedEventArgs(RoutedEvent) | Initializes a new instance of the RoutedEventArgs class, using the supplied routed event identifier. |
![]() | RoutedEventArgs(RoutedEvent, Object) | Initializes a new instance of the RoutedEventArgs class, using the supplied routed event identifier, and providing the opportunity to declare a different source for the event. |
| Name | Description | |
|---|---|---|
![]() | Handled | Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. |
![]() | OriginalSource | Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. |
![]() | RoutedEvent | Gets or sets the RoutedEvent associated with this RoutedEventArgs instance. |
![]() | Source | Gets or sets a reference to the object that raised the event. |
| 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 it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InvokeEventHandler | When overridden in a derived class, provides a way to invoke event handlers in a type-specific way, which can increase efficiency over the base implementation. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnSetSource | When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Different RoutedEventArgs can be used with a single RoutedEvent. This class is responsible for packaging the event data for a RoutedEvent, providing extra event state information, and is used by the event system for invoking the handler associated with the routed event.
System.Object
System.EventArgs
System.Windows.RoutedEventArgs
System.Activities.Presentation.Toolbox.ToolCreatedEventArgs
System.Windows.Controls.ActivatingKeyTipEventArgs
System.Windows.Controls.CalendarDateChangedEventArgs
System.Windows.Controls.CalendarModeChangedEventArgs
System.Windows.Controls.CleanUpVirtualizedItemEventArgs
System.Windows.Controls.ContextMenuEventArgs
System.Windows.Controls.InkCanvasGestureEventArgs
System.Windows.Controls.InkCanvasStrokeCollectedEventArgs
System.Windows.Controls.KeyTipAccessedEventArgs
System.Windows.Controls.Primitives.DragCompletedEventArgs
System.Windows.Controls.Primitives.DragDeltaEventArgs
System.Windows.Controls.Primitives.DragStartedEventArgs
System.Windows.Controls.Primitives.ScrollEventArgs
System.Windows.Controls.Ribbon.RibbonDismissPopupEventArgs
System.Windows.Controls.Ribbon.RibbonQuickAccessToolBarCloneEventArgs
System.Windows.Controls.ScrollChangedEventArgs
System.Windows.Controls.SelectionChangedEventArgs
System.Windows.Controls.TextChangedEventArgs
System.Windows.Controls.ToolTipEventArgs
System.Windows.Controls.ValidationErrorEventArgs
System.Windows.Data.DataTransferEventArgs
System.Windows.DataObjectEventArgs
System.Windows.DragEventArgs
System.Windows.ExceptionRoutedEventArgs
System.Windows.GiveFeedbackEventArgs
System.Windows.Input.AccessKeyPressedEventArgs
System.Windows.Input.CanExecuteRoutedEventArgs
System.Windows.Input.ExecutedRoutedEventArgs
System.Windows.Input.InputEventArgs
System.Windows.MediaScriptCommandRoutedEventArgs
System.Windows.Navigation.RequestNavigateEventArgs
System.Windows.QueryContinueDragEventArgs
System.Windows.RequestBringIntoViewEventArgs
System.Windows.RoutedPropertyChangedEventArgs<T>
System.Windows.SizeChangedEventArgs
System.Windows.SourceChangedEventArgs
System.EventArgs
System.Windows.RoutedEventArgs
System.Activities.Presentation.Toolbox.ToolCreatedEventArgs
System.Windows.Controls.ActivatingKeyTipEventArgs
System.Windows.Controls.CalendarDateChangedEventArgs
System.Windows.Controls.CalendarModeChangedEventArgs
System.Windows.Controls.CleanUpVirtualizedItemEventArgs
System.Windows.Controls.ContextMenuEventArgs
System.Windows.Controls.InkCanvasGestureEventArgs
System.Windows.Controls.InkCanvasStrokeCollectedEventArgs
System.Windows.Controls.KeyTipAccessedEventArgs
System.Windows.Controls.Primitives.DragCompletedEventArgs
System.Windows.Controls.Primitives.DragDeltaEventArgs
System.Windows.Controls.Primitives.DragStartedEventArgs
System.Windows.Controls.Primitives.ScrollEventArgs
System.Windows.Controls.Ribbon.RibbonDismissPopupEventArgs
System.Windows.Controls.Ribbon.RibbonQuickAccessToolBarCloneEventArgs
System.Windows.Controls.ScrollChangedEventArgs
System.Windows.Controls.SelectionChangedEventArgs
System.Windows.Controls.TextChangedEventArgs
System.Windows.Controls.ToolTipEventArgs
System.Windows.Controls.ValidationErrorEventArgs
System.Windows.Data.DataTransferEventArgs
System.Windows.DataObjectEventArgs
System.Windows.DragEventArgs
System.Windows.ExceptionRoutedEventArgs
System.Windows.GiveFeedbackEventArgs
System.Windows.Input.AccessKeyPressedEventArgs
System.Windows.Input.CanExecuteRoutedEventArgs
System.Windows.Input.ExecutedRoutedEventArgs
System.Windows.Input.InputEventArgs
System.Windows.MediaScriptCommandRoutedEventArgs
System.Windows.Navigation.RequestNavigateEventArgs
System.Windows.QueryContinueDragEventArgs
System.Windows.RequestBringIntoViewEventArgs
System.Windows.RoutedPropertyChangedEventArgs<T>
System.Windows.SizeChangedEventArgs
System.Windows.SourceChangedEventArgs
Show:
