共用方式為


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 設計工具擴充性