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
'Usage
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)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace