![]() SwipeView has a platform-specific on iOS and Android, that controls the transition that's used when opening a SwipeView. In addition, SwipeView includes Open and Close methods, which programmatically open and close the swipe items, respectively. The SwipeEndedEventArgs object that accompanies this event has a SwipeDirection property, of type SwipeDirection, and an IsOpen property of type bool. SwipeEnded is fired when a swipe ends.The SwipeChangingEventArgs object that accompanies this event has a SwipeDirection property, of type SwipeDirection, and an Offset property of type double. SwipeChanging is fired as the swipe moves.The SwipeStartedEventArgs object that accompanies this event has a SwipeDirection property, of type SwipeDirection. SwipeStarted is fired when a swipe starts.The SwipeView class also defines three events: The Content property is the content property of the SwipeView class, and therefore does not need to be explicitly set. In addition, the SwipeView inherits the Content property from the ContentView class. ![]() These properties are backed by BindableProperty objects, which means that they can be targets of data bindings, and styled. Threshold, of type double, which represents the number of device-independent units that trigger a swipe gesture to fully reveal swipe items.BottomItems, of type SwipeItems, which represents the swipe items that can be invoked when the control is swiped from the bottom up.TopItems, of type SwipeItems, which represents the swipe items that can be invoked when the control is swiped from the top down.RightItems, of type SwipeItems, which represents the swipe items that can be invoked when the control is swiped from the right side.LeftItems, of type SwipeItems, which represents the swipe items that can be invoked when the control is swiped from the left side.SwipeView defines the following properties: The SwipeView is a container control that wraps around an item of content, and provides context menu items that are revealed by a swipe gesture: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |