Defines the available system gestures.
Assembly: PresentationCore (in PresentationCore.dll)
Maps to a left drag on a mouse.
Occurs with a short, quick stroke that translates into a specific command. The action taken by a flick is set system-wide. An application can listen for a ApplicationCommands by setting the Handled property to true in the StylusSystemGesture event. Only Windows Vista supports flicks.and prevent it from becoming one of the standard
Indicates that press and hold has occurred.
Maps to a mouse hover. This can be used to show ToolTip rollover effects, or other mouse hover behaviors.
Maps to a mouse leaving a hover. This can be used to end ToolTip rollover effects or other mouse hover behaviors.
No system gesture.
Maps to a right drag on a mouse. This can be used to drag an object or selection to a different area and is followed by the appearance of the shortcut menu which provides options for moving the object.
Maps to a right-click on a mouse. This can be used to show a shortcut menu.
Maps to a left-click on a mouse. This can be used to choose a command from the menu or toolbar, take action if a command is chosen, set an insertion point, or show selection feedback.
Maps to a double-click of a mouse.
When the operating system recognizes system gestures, the StylusSystemGesture event occurs. Many of the gestures map to traditional mouse events. For example, the system gesture mimics a single left-click on a mouse.
Legacy Code Example
The following example determines which type of system gesture that raised the InkCanvas called inkcanvas1 and that is connected to the event handler below.event. This example assumes that there is a Code snippet is not found. Confirm that the code snippet name 'PacketSpy' is correct.
Available since 3.0