Example #1
0
 public DraggingCardEventArgs(object item, object parameter, SwipeCardDirection direction, DraggingCardPosition position, double distanceDraggedX, double distanceDraggedY)
 {
     this.Item             = item;
     this.Parameter        = parameter;
     this.Direction        = direction;
     this.Position         = position;
     this.DistanceDraggedX = distanceDraggedX;
     this.DistanceDraggedY = distanceDraggedY;
 }
 public static bool IsDown(this SwipeCardDirection self)
 {
     return((self & SwipeCardDirection.Down) == SwipeCardDirection.Down);
 }
 public static bool IsSupported(this SwipeCardDirection self, SwipeCardDirection other)
 {
     return((self & other) == other);
 }
 public static bool IsUp(this SwipeCardDirection self)
 {
     return((self & SwipeCardDirection.Up) == SwipeCardDirection.Up);
 }
 public static bool IsRight(this SwipeCardDirection self)
 {
     return((self & SwipeCardDirection.Right) == SwipeCardDirection.Right);
 }
 public static bool IsLeft(this SwipeCardDirection self)
 {
     return((self & SwipeCardDirection.Left) == SwipeCardDirection.Left);
 }
 public SwipedCardEventArgs(object item, object parameter, SwipeCardDirection direction)
 {
     Item      = item;
     Parameter = parameter;
     Direction = direction;
 }
Example #8
0
 public SwipedCardEventArgs(object item, object parameter, SwipeCardDirection direction)
 {
     this.Item      = item;
     this.Parameter = parameter;
     this.Direction = direction;
 }