Share via


SwipeItem.BehaviorOnInvoked Property

Definition

Gets or sets a value that indicates how a SwipeControl behaves after this item is invoked.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property SwipeBehaviorOnInvoked BehaviorOnInvoked { SwipeBehaviorOnInvoked get(); void set(SwipeBehaviorOnInvoked value); };
SwipeBehaviorOnInvoked BehaviorOnInvoked();

void BehaviorOnInvoked(SwipeBehaviorOnInvoked value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::SwipeBehaviorOnInvoked::Auto")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::SwipeBehaviorOnInvoked::Auto")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::SwipeBehaviorOnInvoked::Auto")]
SwipeBehaviorOnInvoked BehaviorOnInvoked();

void BehaviorOnInvoked(SwipeBehaviorOnInvoked value);
public SwipeBehaviorOnInvoked BehaviorOnInvoked { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::SwipeBehaviorOnInvoked::Auto")]
public SwipeBehaviorOnInvoked BehaviorOnInvoked { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::SwipeBehaviorOnInvoked::Auto")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::SwipeBehaviorOnInvoked::Auto")] set; }
Public Property BehaviorOnInvoked As SwipeBehaviorOnInvoked
<SwipeItem BehaviorOnInvoked="swipeBehaviorOnInvokedMemberName" />

Property Value

A value that indicates how a SwipeControl behaves after this item is invoked. The default is Auto.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to