Share via


InkCollectorSystemGestureEventArgs.Id Property

InkCollectorSystemGestureEventArgs.Id Property

Gets the value of the system gesture.

Definition

Visual Basic .NET Public ReadOnly Property Id As SystemGesture
C# public SystemGesture Id { get; }
Managed C++ public: __property SystemGesture* get_Id();

Property Value

Microsoft.Ink.SystemGesture. The value of the system gesture.

This property is read-only. This property has no default value.

Tap16 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.
DoubleTap17 Maps to a double-click on a mouse. This can be used to select a word or open a file or folder.
RightTap18 Maps to a right-click on a mouse. This can be used to show a shortcut menu.
Drag19 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.
RightDrag20 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).
HoldEnter21 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.
HoldLeave22 Not implemented.
HoverEnter23 Maps to a mouse hover. This can be used to show a ToolTip, roll-over effects, or other mouse hover behaviors.
HoverLeave24 Maps to a mouse leaving a hover. This can be used to end ToolTip roll-over effects or other mouse hover behaviors.

Remarks

Note: A SystemGesture object's identifier is constant over time, meaning that it never changes.

Because each system gesture exists as a value in the SystemGesture enumeration, that value serves as the ID of that gesture.

See Also