public SwipeEventArgs(SwipDirection direction) { Direction = direction; }
public virtual void OnSwipe(SwipDirection direction) { var handler = Swipe; if (handler != null) { handler(this, new SwipeEventArgs(direction)); } }