Xamarin Forms Swipe Left/Swipe Right Gestures

后端 未结 8 1039
逝去的感伤
逝去的感伤 2020-12-03 02:46

I want to preface this by saying I\'m completely new to mobile development, Xamarin, C#, .Net.

I\'m working on creating a mobile app using Xamarain Forms and have ru

8条回答
  •  遥遥无期
    2020-12-03 03:18

    FYI

    SwipeView is available in Xamarin.Forms 4.4.

    The SwipeView class also defines four events:

    SwipeStarted is fired when a swipe starts. The SwipeStartedEventArgs object that accompanies this event has a SwipeDirection property, of type SwipeDirection.

    SwipeChanging is fired as the swipe moves. The SwipeChangingEventArgs object that accompanies this event has a SwipeDirection property, of type SwipeDirection, and an Offset property of type double.

    SwipeEnded is fired when a swipe ends. The SwipeEndedEventArgs object that accompanies this event has a SwipeDirection property, of type SwipeDirection.

    CloseRequested is fired when the swipe items are closed. In addition, SwipeView defines a Close method, which closes the swipe items.

    For more information about some new Xamarin Forms features visit this link.

提交回复
热议问题