Class RoutedEventArgs
The container for all state associated with a RoutedEvent
public class RoutedEventArgs : BaseEventArgs
- Inheritance
-
RoutedEventArgs
- Derived
Remarks
RoutedEventArgs constitutes the
RoutedEvent, Handled, Source and OriginalSourceDifferent RoutedEventArgs can be used with a single RoutedEvent
The RoutedEventArgs is responsible for packaging the RoutedEvent, providing extra event state info, and invoking the handler associated with the RoutedEvent
Constructors
- RoutedEventArgs()
Constructor for RoutedEventArgs
- RoutedEventArgs(RoutedEvent)
Constructor for RoutedEventArgs
- RoutedEventArgs(RoutedEvent, object)
Constructor for RoutedEventArgs
Properties
- Handled
Returns a boolean flag indicating if or not this RoutedEvent has been handled this far in the route
- OriginalSource
Returns OriginalSource object that raised the RoutedEvent
- RoutedEvent
Returns the RoutedEvent associated with this RoutedEventArgs
- Source
Returns Source object that raised the RoutedEvent
Methods
- InvokeEventHandler(Delegate, object)
Invokes the generic handler with the appropriate arguments
- OnSetSource(object)
Invoked when the source of the event is set