次の方法で共有


MatchGestureEventArgs.Binding プロパティ

更新 : 2007 年 11 月

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

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

構文

'宣言
Public Property Binding As InputBinding
'使用
Dim instance As MatchGestureEventArgs
Dim value As InputBinding

value = instance.Binding

instance.Binding = value
public InputBinding Binding { get; set; }
public:
property InputBinding^ Binding {
    InputBinding^ get ();
    void set (InputBinding^ value);
}
public function get Binding () : InputBinding
public function set Binding (value : InputBinding)

プロパティ値

型 : System.Windows.Input.InputBinding

入力イベントに割り当てられた入力バインディング。

解説

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

アクセス許可

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

参照

参照

MatchGestureEventArgs クラス

MatchGestureEventArgs メンバ

Microsoft.Windows.Design.Interaction 名前空間

その他の技術情報

WPF デザイナの機能拡張