InputGestures Property
Collapse the table of content
Expand the table of content

RoutedCommand.InputGestures Property


Gets the collection of InputGesture objects that are associated with this command.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

Public ReadOnly Property InputGestures As InputGestureCollection

Property Value

Type: System.Windows.Input.InputGestureCollection

The input gestures.

The following example shows how to add a new MouseGesture to a RoutedCommand.

Dim PasteCmdMouseGesture As New MouseGesture(MouseAction.MiddleClick, ModifierKeys.Alt)


.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft