Table of Contents

Class MultiDimensionSwipeEventArgs

Namespace
MudBlazor
Assembly
MudBlazor.dll
public class MultiDimensionSwipeEventArgs
Inheritance
MultiDimensionSwipeEventArgs
Inherited Members
Extension Methods

Constructors

MultiDimensionSwipeEventArgs(PointerEventArgs, IReadOnlyList<SwipeDirection>, IReadOnlyList<double?>, MudSwipeArea)

Initializes a new instance of the SwipeEventArgs class.

public MultiDimensionSwipeEventArgs(PointerEventArgs touchEventArgs, IReadOnlyList<SwipeDirection> swipeDirections, IReadOnlyList<double?> swipeDeltas, MudSwipeArea sender)

Parameters

touchEventArgs PointerEventArgs

The size, pressure, and tilt of the pointer.

swipeDirections IReadOnlyList<SwipeDirection>

The direction of the swipe.

swipeDeltas IReadOnlyList<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

SwipeDeltas

The distance of the swipe gestures in pixels. Has two values, one for the x-axis and one for the y-axis.

public IReadOnlyList<double?> SwipeDeltas { get; }

Property Value

IReadOnlyList<double?>

SwipeDirections

The direction list of the swipe. Has two values, one for the x-axis and one for the y-axis.

public IReadOnlyList<SwipeDirection> SwipeDirections { get; }

Property Value

IReadOnlyList<SwipeDirection>

TouchEventArgs

The information about the pointer.

public PointerEventArgs TouchEventArgs { get; }

Property Value

PointerEventArgs