Skip to main content

ScrollGestureEventArgs Class

Definition

Namespace:Avalonia.Input
Assembly:Avalonia.Base
Package:Avalonia
public class ScrollGestureEventArgs

Inheritance: EventArgs -> RoutedEventArgs -> ScrollGestureEventArgs

Constructors

NameDescription
ScrollGestureEventArgsNo summary available.

ScrollGestureEventArgs Constructor

public ScrollGestureEventArgs(int id, Avalonia.Vector delta)

Parameters

id int

delta Avalonia.Vector

Methods

NameDescription
GetNextFreeIdNo summary available.

GetNextFreeId Method

public int GetNextFreeId()

Returns

int

Properties

NameDescription
DeltaNo summary available.
IdNo summary available.
ShouldEndScrollGestureWhen set the ScrollGestureRecognizer should stop its current active scroll gesture.
HandledGets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs.
RouteGets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. Inherited from RoutedEventArgs.
RoutedEventGets or sets the routed event associated with these event args. Inherited from RoutedEventArgs.
SourceGets or sets the source object that raised the routed event. Inherited from RoutedEventArgs.

Delta Property

public Avalonia.Vector Delta { get; set; }

Id Property

public int Id { get; set; }

ShouldEndScrollGesture Property

When set the ScrollGestureRecognizer should stop its current active scroll gesture.

public bool ShouldEndScrollGesture { get; set; }