RoutedEventArgs Class
Definition
Provides state information and data specific to a routed event.
public class RoutedEventArgs
Constructors
| Name | Description |
|---|---|
| RoutedEventArgs (3 overloads) | Initializes a new instance of the Avalonia.Interactivity.RoutedEventArgs class. |
RoutedEventArgs overloads
RoutedEventArgs Constructor
Initializes a new instance of the Avalonia.Interactivity.RoutedEventArgs class.
public RoutedEventArgs()
RoutedEventArgs Constructor
Initializes a new instance of the Avalonia.Interactivity.RoutedEventArgs class.
public RoutedEventArgs(Avalonia.Interactivity.RoutedEvent routedEvent)
Parameters
routedEvent Avalonia.Interactivity.RoutedEvent
The routed event associated with these event args.
RoutedEventArgs Constructor
Initializes a new instance of the Avalonia.Interactivity.RoutedEventArgs class.
public RoutedEventArgs(Avalonia.Interactivity.RoutedEvent routedEvent, object source)
Parameters
routedEvent Avalonia.Interactivity.RoutedEvent
The routed event associated with these event args.
source object
The source object that raised the routed event.
Properties
| Name | Description |
|---|---|
| Handled | Gets or sets a value indicating whether the routed event has already been handled. |
| Route | Gets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. |
| RoutedEvent | Gets or sets the routed event associated with these event args. |
| Source | Gets or sets the source object that raised the routed event. |
Handled Property
Gets or sets a value indicating whether the routed event has already been handled.
public bool Handled { get; set; }
Remarks
Once handled, a routed event should be ignored.
Route Property
Gets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event.
public Avalonia.Interactivity.RoutingStrategies Route { get; set; }
RoutedEvent Property
Gets or sets the routed event associated with these event args.
public Avalonia.Interactivity.RoutedEvent RoutedEvent { get; set; }
Source Property
Gets or sets the source object that raised the routed event.
public object Source { get; set; }