SwipeItem.BehaviorOnInvoked 属性

定义

获取或设置一个值,该值指示在调用此项后 SwipeControl 的行为方式。

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" />

属性值

一个 值,该值指示在调用此项后 SwipeControl 的行为方式。 默认值为 “自动”。

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

适用于