SwipeGestureEndedEventArgs Class
Definition
Provides data for the swipe gesture ended event.
public class SwipeGestureEndedEventArgs
Constructors
| Name | Description |
|---|---|
| SwipeGestureEndedEventArgs | Initializes a new instance of the Avalonia.Input.SwipeGestureEndedEventArgs class. |
SwipeGestureEndedEventArgs Constructor
Initializes a new instance of the Avalonia.Input.SwipeGestureEndedEventArgs class.
public SwipeGestureEndedEventArgs(int id, Avalonia.Vector velocity)
Parameters
id int
The unique identifier for this gesture.
velocity Avalonia.Vector
The swipe velocity at release in pixels per second.
Properties
| Name | Description |
|---|---|
| Id | Gets the unique identifier for this gesture sequence. |
| Velocity | Gets the swipe velocity at release in pixels per second. |
| Handled | Gets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs. |
| Route | Gets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. Inherited from RoutedEventArgs. |
| RoutedEvent | Gets or sets the routed event associated with these event args. Inherited from RoutedEventArgs. |
| Source | Gets or sets the source object that raised the routed event. Inherited from RoutedEventArgs. |
Id Property
Gets the unique identifier for this gesture sequence.
public int Id { get; set; }
Velocity Property
Gets the swipe velocity at release in pixels per second.
public Avalonia.Vector Velocity { get; set; }