Table of Contents

Class SwipeEventArgs

Namespace
MudBlazor
Assembly
MudBlazor.dll

Information about a swipe event when OnSwipeEnd occurs.

public class SwipeEventArgs
Inheritance
SwipeEventArgs
Inherited Members
Extension Methods

Constructors

SwipeEventArgs(PointerEventArgs, SwipeDirection, double?, MudSwipeArea)

Initializes a new instance of the SwipeEventArgs class.

public SwipeEventArgs(PointerEventArgs touchEventArgs, SwipeDirection swipeDirection, double? swipeDelta, MudSwipeArea sender)

Parameters

touchEventArgs PointerEventArgs

The size, pressure, and tilt of the pointer.

swipeDirection SwipeDirection

The direction of the swipe.

swipeDelta double?

The distance of the swipe movement, in pixels.

sender MudSwipeArea

The MudSwipeArea which originated the swipe event.

Properties

Sender

The MudSwipeArea which raised the swipe event.

public MudSwipeArea Sender { get; }

Property Value

MudSwipeArea

SwipeDelta

The distance of the swipe gesture, in pixels.

public double? SwipeDelta { get; }

Property Value

double?

SwipeDirection

The direction of the swipe.

public SwipeDirection SwipeDirection { get; }

Property Value

SwipeDirection

TouchEventArgs

The information about the pointer.

public PointerEventArgs TouchEventArgs { get; }

Property Value

PointerEventArgs