Class RoutedEventArgs
- Namespace
- Avalonia.Interactivity
- Assembly
- Avalonia.Base.dll
Provides state information and data specific to a routed event.
public class RoutedEventArgs : EventArgs
- Inheritance
-
RoutedEventArgs
- Derived
- Inherited Members
Constructors
RoutedEventArgs()
Initializes a new instance of the RoutedEventArgs class.
public RoutedEventArgs()
RoutedEventArgs(RoutedEvent?)
Initializes a new instance of the RoutedEventArgs class.
public RoutedEventArgs(RoutedEvent? routedEvent)
Parameters
routedEvent
RoutedEventThe routed event associated with these event args.
RoutedEventArgs(RoutedEvent?, object?)
Initializes a new instance of the RoutedEventArgs class.
public RoutedEventArgs(RoutedEvent? routedEvent, object? source)
Parameters
routedEvent
RoutedEventThe routed event associated with these event args.
source
objectThe source object that raised the routed event.
Properties
Handled
Gets or sets a value indicating whether the routed event has already been handled.
public bool Handled { get; set; }
Property Value
Remarks
Once handled, a routed event should be ignored.
Route
Gets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event.
public RoutingStrategies Route { get; set; }
Property Value
RoutedEvent
Gets or sets the routed event associated with these event args.
public RoutedEvent? RoutedEvent { get; set; }
Property Value
Source
Gets or sets the source object that raised the routed event.
public object? Source { get; set; }