Share via


CarouselView.IsSwipeEnabled Property

Definition

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.

Applies to