CarouselView.IsSwipeEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether swipe gestures are enabled for navigation.
public:
property bool IsSwipeEnabled { bool get(); void set(bool value); };
public bool IsSwipeEnabled { get; set; }
member this.IsSwipeEnabled : bool with get, set
Public Property IsSwipeEnabled As Boolean
Property Value
true to enable swipe gestures; otherwise, false. The default is true.
Remarks
When disabled, users cannot navigate between items using swipe gestures. Programmatic navigation using Position or CurrentItem still works when this is disabled.