次の方法で共有


MatchGestureEventArgs.Binding プロパティ

入力イベントに割り当てられた入力バインディングを取得または設定します。

名前空間:  Microsoft.Windows.Design.Interaction
アセンブリ:  Microsoft.Windows.Design.Interaction (Microsoft.Windows.Design.Interaction.dll 内)

構文

'宣言
Public Property Binding As InputBinding
    Get
    Set
public InputBinding Binding { get; set; }
public:
property InputBinding^ Binding {
    InputBinding^ get ();
    void set (InputBinding^ value);
}
member Binding : InputBinding with get, set
function get Binding () : InputBinding
function set Binding (value : InputBinding)

プロパティ値

型: System.Windows.Input.InputBinding
入力イベントに割り当てられた入力バインディング。

解説

このイベントから戻ると、バインディングが実行されます。 これを新しいバインディングに設定することで、他のコマンドに再度割り当てたり、このバインディングに nullnull 参照 (Visual Basic では Nothing) を設定することでコマンドが実行されないようにしたりできます。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

MatchGestureEventArgs クラス

Microsoft.Windows.Design.Interaction 名前空間

その他の技術情報

WPF デザイナーの機能拡張