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
PointerEventArgsThe size, pressure, and tilt of the pointer.
swipeDirection
SwipeDirectionThe direction of the swipe.
swipeDelta
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
SwipeDelta
The distance of the swipe gesture, in pixels.
public double? SwipeDelta { get; }
Property Value
SwipeDirection
The direction of the swipe.
public SwipeDirection SwipeDirection { get; }
Property Value
TouchEventArgs
The information about the pointer.
public PointerEventArgs TouchEventArgs { get; }