Compartilhar via


SwipeItem.BehaviorOnInvoked Propriedade

Definição

Obtém ou define um valor que indica como um SwipeControl se comporta depois que esse item é invocado.

public:
 property SwipeBehaviorOnInvoked BehaviorOnInvoked { SwipeBehaviorOnInvoked get(); void set(SwipeBehaviorOnInvoked value); };
/// [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);
/// [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 { [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")]
public SwipeBehaviorOnInvoked BehaviorOnInvoked { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::SwipeBehaviorOnInvoked::Auto")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::SwipeBehaviorOnInvoked::Auto")] set; }
var swipeBehaviorOnInvoked = swipeItem.behaviorOnInvoked;
swipeItem.behaviorOnInvoked = swipeBehaviorOnInvoked;
Public Property BehaviorOnInvoked As SwipeBehaviorOnInvoked
<SwipeItem BehaviorOnInvoked="swipeBehaviorOnInvokedMemberName" />

Valor da propriedade

Um valor que indica como um SwipeControl se comporta depois que esse item é invocado. O padrão é Automático.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Aplica-se a