Skip to main content
RoutedEventArgs Class
 

Contains state information and event data associated with a routed event.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

SystemObject
   SystemEventArgs
    System.WindowsRoutedEventArgs
       System.Activities.Presentation.ToolboxToolCreatedEventArgs
       System.Windows.ControlsActivatingKeyTipEventArgs
       System.Windows.ControlsCalendarDateChangedEventArgs
       System.Windows.ControlsCalendarModeChangedEventArgs
       System.Windows.ControlsCleanUpVirtualizedItemEventArgs
       System.Windows.ControlsContextMenuEventArgs
       System.Windows.ControlsInkCanvasGestureEventArgs
       System.Windows.ControlsInkCanvasStrokeCollectedEventArgs
       System.Windows.ControlsKeyTipAccessedEventArgs
       System.Windows.Controls.PrimitivesDragCompletedEventArgs
       System.Windows.Controls.PrimitivesDragDeltaEventArgs
       System.Windows.Controls.PrimitivesDragStartedEventArgs
       System.Windows.Controls.PrimitivesScrollEventArgs
       System.Windows.Controls.RibbonRibbonDismissPopupEventArgs
       System.Windows.Controls.RibbonRibbonQuickAccessToolBarCloneEventArgs
       System.Windows.ControlsScrollChangedEventArgs
       System.Windows.ControlsSelectionChangedEventArgs
       System.Windows.ControlsTextChangedEventArgs
       System.Windows.ControlsToolTipEventArgs
       System.Windows.ControlsValidationErrorEventArgs
       System.Windows.DataDataTransferEventArgs
       System.WindowsDataObjectEventArgs
       System.WindowsDpiChangedEventArgs
       System.WindowsDragEventArgs
       System.WindowsExceptionRoutedEventArgs
       System.WindowsGiveFeedbackEventArgs
       System.Windows.InputAccessKeyPressedEventArgs
       System.Windows.InputCanExecuteRoutedEventArgs
       System.Windows.InputExecutedRoutedEventArgs
       System.Windows.InputInputEventArgs
       System.WindowsMediaScriptCommandRoutedEventArgs
       System.Windows.NavigationRequestNavigateEventArgs
       System.WindowsQueryContinueDragEventArgs
       System.WindowsRequestBringIntoViewEventArgs
       System.WindowsRoutedPropertyChangedEventArgs
       System.WindowsSizeChangedEventArgs
       System.WindowsSourceChangedEventArgs

public class RoutedEventArgs : EventArgs
public ref class RoutedEventArgs : EventArgs
type RoutedEventArgs = 
    class
        inherit EventArgs
    end
Public Class RoutedEventArgs
	Inherits EventArgs
NameDescription
System_CAPS_pubmethod RoutedEventArgs

Initializes a new instance of the RoutedEventArgs class.

System_CAPS_pubmethod RoutedEventArgs

Initializes a new instance of the RoutedEventArgs class, using the supplied routed event identifier.

System_CAPS_pubmethod RoutedEventArgs

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.

NameDescription
System_CAPS_pubproperty

Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route.

System_CAPS_pubproperty

Gets the original reporting source as determined by pure hit testing, before any possible adjustment by a parent class.

System_CAPS_pubproperty

Gets or sets the associated with this RoutedEventArgs instance.

System_CAPS_pubproperty

Gets or sets a reference to the object that raised the event.

NameDescription
System_CAPS_pubmethod Equals

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethod Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethod GetHashCode

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethod GetType

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethod 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.

System_CAPS_protmethod MemberwiseClone

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethod OnSetSource

When overridden in a derived class, provides a notification callback entry point whenever the value of the property of an instance changes.

System_CAPS_pubmethod ToString

Returns a string that represents the current object.(Inherited from Object.)

Different RoutedEventArgs can be used with a single . This class is responsible for packaging the event data for a , providing extra event state information, and is used by the event system for invoking the handler associated with the routed event.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top