SwipeMode 列挙型

定義

スワイプ操作の効果を指定する定数を定義します。

UWP 用の同等の WinUI 2 API: Microsoft.UI.Xaml.Controls.SwipeMode (Windows App SDKの WinUI の場合は、Windows App SDK名前空間を参照してください)。

public enum class SwipeMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
enum class SwipeMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
public enum SwipeMode
var value = Windows.UI.Xaml.Controls.SwipeMode.reveal
Public Enum SwipeMode
継承
SwipeMode
属性

Windows の要件

デバイス ファミリ
Windows 10 Fall Creators Update (10.0.16299.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v5.0 で導入)

フィールド

Execute 1

スワイプはコマンドを実行します。

Reveal 0

スワイプすると、コマンドのメニューが表示されます。

注釈

この列挙は、 SwipeItems.Mode プロパティによって使用されます。

適用対象

こちらもご覧ください