Skip to main content

SwipeDirection Enum

Definition

Namespace:Avalonia.Input
Assembly:Avalonia.Base
Package:Avalonia

Specifies the direction of a swipe gesture.

public enum SwipeDirection

Inheritance: Enum -> SwipeDirection

Fields

NameDescription
DownThe swipe moved downward.
LeftThe swipe moved to the left.
RightThe swipe moved to the right.
UpThe swipe moved upward.

Down Field

The swipe moved downward.

public Avalonia.Input.SwipeDirection Down

Left Field

The swipe moved to the left.

public Avalonia.Input.SwipeDirection Left

Right Field

The swipe moved to the right.

public Avalonia.Input.SwipeDirection Right

Up Field

The swipe moved upward.

public Avalonia.Input.SwipeDirection Up