SwipeItem クラス

定義

SwipeControl の個々のコマンドを表します。

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

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[WebHostHidden]
class SwipeItem : DependencyObject
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SwipeItem : DependencyObject
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class SwipeItem : DependencyObject
function SwipeItem()
Public Class SwipeItem
Inherits DependencyObject
<SwipeItem .../>
-or-
<SwipeItem ...>
  content
</SwipeItem>
継承
Object IInspectable DependencyObject SwipeItem
属性

Windows の要件

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

コンストラクター

SwipeItem()

SwipeItem クラスの新しいインスタンスを初期化します。

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

プロパティ

Background

コントロールの背景を提供するブラシを取得または設定します。

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

BackgroundProperty

Background 依存関係プロパティを識別します。

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

BehaviorOnInvoked

この項目が呼び出された後の SwipeControl の動作を示す値を取得または設定します。

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

BehaviorOnInvokedProperty

BehaviorOnInvoked 依存関係プロパティを識別します。

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

Command

この項目が呼び出されたときに実行するコマンドを取得または設定します。

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

CommandParameter

Command プロパティに渡すパラメーターを取得または設定します。

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

CommandParameterProperty

CommandParameter 依存関係プロパティを識別します。

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

CommandProperty

Command 依存関係プロパティを識別します。

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

Dispatcher

このオブジェクトが関連付けられている CoreDispatcher を取得します。 CoreDispatcher は、コードが UI 以外のスレッドによって開始された場合でも、UI スレッド上の DependencyObject にアクセスできる機能を表します。

(継承元 DependencyObject)
Foreground

アイテムのテキストとアイコンを描画するブラシを取得または設定します。

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

ForegroundProperty

Foreground 依存関係プロパティを識別します。

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

IconSource

アイテムのグラフィック コンテンツを取得または設定します。

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

IconSourceProperty

IconSource 依存関係プロパティを識別します。

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

Text

アイテムに表示されるテキストの説明を取得または設定します。

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

TextProperty

Text 依存関係プロパティを識別します。

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

メソッド

ClearValue(DependencyProperty)

依存関係プロパティのローカル値をクリアします。

(継承元 DependencyObject)
GetAnimationBaseValue(DependencyProperty)

依存関係プロパティに対して確立された基本値を返します。これは、アニメーションがアクティブでない場合に適用されます。

(継承元 DependencyObject)
GetValue(DependencyProperty)

DependencyObject から依存関係プロパティの現在の有効な値を返します。

(継承元 DependencyObject)
ReadLocalValue(DependencyProperty)

ローカル値が設定されている場合は、依存関係プロパティのローカル値を返します。

(継承元 DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback)

この DependencyObject インスタンスの特定の DependencyProperty に対する変更をリッスンするための通知関数を登録します。

(継承元 DependencyObject)
SetValue(DependencyProperty, Object)

DependencyObject の依存関係プロパティのローカル値を設定します。

(継承元 DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty, Int64)

RegisterPropertyChangedCallback を呼び出して以前に登録した変更通知を取り消します。

(継承元 DependencyObject)

イベント

Invoked

ユーザーの操作で、この項目で表されるコマンドを実行する必要があることを示す場合に発生します。

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

適用対象