3 namespace Xamarin.Forms
5 public abstract class BaseSwipeEventArgs : EventArgs
7 protected BaseSwipeEventArgs(SwipeDirection swipeDirection)
9 SwipeDirection = swipeDirection;
12 public SwipeDirection SwipeDirection { get; set; }
15 public class OpenSwipeEventArgs : EventArgs
17 public OpenSwipeEventArgs(OpenSwipeItem openSwipeItem)
19 OpenSwipeItem = openSwipeItem;
22 public OpenSwipeItem OpenSwipeItem { get; set; }
25 public class SwipeStartedEventArgs : BaseSwipeEventArgs
27 public SwipeStartedEventArgs(SwipeDirection swipeDirection) : base(swipeDirection)
33 public class SwipeChangingEventArgs : BaseSwipeEventArgs
35 public SwipeChangingEventArgs(SwipeDirection swipeDirection, double offset) : base(swipeDirection)
40 public double Offset { get; set; }
43 public class SwipeEndedEventArgs : BaseSwipeEventArgs
45 public SwipeEndedEventArgs(SwipeDirection swipeDirection) : base(swipeDirection)