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
PointerEventArgsThe 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
MudSwipeAreaThe MudSwipeArea which originated the swipe event.
Properties
Sender
The MudSwipeArea which raised the swipe event.
public MudSwipeArea Sender { get; }
Property Value
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
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
TouchEventArgs
The information about the pointer.
public PointerEventArgs TouchEventArgs { get; }