Share via


MatchGestureEventArgs.Binding Property

Gets or sets the input binding that was mapped to the input event.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
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)

Property Value

Type: System.Windows.Input.InputBinding
The input binding that was mapped to the input event.

Remarks

Upon return from this event, the binding will be executed. You may set this to a new binding to re-route to a different command, or you may set this binding to nulla null reference (Nothing in Visual Basic) in order to prevent the command from being executed.

.NET Framework Security

See Also

Reference

MatchGestureEventArgs Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility