Enum GoToStrategy
The strategy used when going to a specific item in the SwipeView.
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public enum GoToStrategy
Fields
Name | Description |
---|---|
Backward | The SwipeView will animate backward until it reaches the item. If the target item is after the current item, it will animate forward if the wrap property is set to false, otherwise it will animate backward until it reaches the item. |
Forward | The SwipeView will animate forward until it reaches the item. If the target item is before the current item, it will animate backward if the wrap property is set to false, otherwise it will animate forward until it reaches the item. |
LongestPath | The SwipeView will animate to the item using the longest path, by taking into account the wrap property. |
ShortestPath | The SwipeView will animate to the item using the shortest path, by taking into account the wrap property. |