SystemGesture Enumeration

Defines values that set the interest in a set of operating system-specific gesture. Starting with the Windows XP Tablet PC Edition operating system, gestures are supported by default. When any of these gestures are recognized, the InkCollector.SystemGesture, InkOverlay.SystemGesture, or InkPicture.SystemGesture event fires automatically. Many of these gestures map to traditional mouse events. For instance, the Tap system gesture mimics a single left-click on a mouse.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
Public Enumeration SystemGesture
'Usage
Dim instance As SystemGesture
public enum SystemGesture
public enum class SystemGesture
public enum SystemGesture

Members

Member name Description
Tap 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.
DoubleTap Maps to a mouse double-click. This can be used to select a word or open a file or folder.
RightTap Maps to a right-click on a mouse. This can be used to show a shortcut menu.
Drag Maps to a left drag on a mouse. This can be used to drag-select (such as in Microsoft Word when starting with an insertion point), select multiple words, drag (such as when dragging an object in Microsoft Windows), or scroll.
RightDrag Specifies a press and hold followed by a stroke, which maps to a right drag on a mouse. This can be used to drag (such as when dragging an object or selection followed by a shortcut menu).
HoldEnter Specifies a left click for a long time, which has no mouse equivalent. This is a fallback for when a user continues a press-and-hold action for a long time and the event reverts to a Tap.
HoldLeave Not implemented.
HoverEnter Maps to a mouse hover. This can be used to show a ToolTip roll-over effects or other mouse hover behaviors.
HoverLeave Maps to a mouse leaving a hover. This can be used to end ToolTip roll-over effects or other mouse hover behaviors.
Flick Maps to a flick. This can be used to provide the user with a new way of interacting with the Tablet PC by allowing common actions to be performed by making quick gestures with the pen.

Remarks

A system gesture is different from an application gesture. Application gestures are defined in the ApplicationGesture enumeration type.

For more information about system gestures, see Using Gestures and Command Input on the Tablet PC.

Note

HoverEnter and HoverLeave system gestures are not fired for the eraser pen.

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Microsoft.Ink Namespace

ApplicationGesture

InkCollectorSystemGestureEventArgs

InkCollectorSystemGestureEventArgs.Id

SystemGestureData.Id