Sdílet prostřednictvím


SwipeItems.Mode Property

Definition

Gets or sets a value that indicates the effect of a swipe interaction.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.SwipeItems.Mode (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property SwipeMode Mode { SwipeMode get(); void set(SwipeMode value); };
SwipeMode Mode();

void Mode(SwipeMode value);
public SwipeMode Mode { get; set; }
var swipeMode = swipeItems.mode;
swipeItems.mode = swipeMode;
Public Property Mode As SwipeMode

Property Value

A value of the enumeration that indicates the effect of a swipe interaction. The default is Reveal.

Applies to