Share via


InkCollectorSystemGestureEventArgs.InkCollectorSystemGestureEventArgs Constructor

InkCollectorSystemGestureEventArgs.InkCollectorSystemGestureEventArgs Constructor

Initializes a new instance of the InkCollectorSystemGestureEventArgs class.

Definition

Visual Basic .NET Public Sub InkCollectorSystemGestureEventArgs( _
ByVal cursor As Cursor, _
ByVal id As SystemGesture, _
ByVal pt As Point, _
ByVal modifier As Integer, _
ByVal c As Char, _
ByVal mode As Integer _
)
C# public InkCollectorSystemGestureEventArgs(
Cursor cursor,
SystemGesture id,
Point pt,
int modifier,
char c,
int mode
);
Managed C++ public: InkCollectorSystemGestureEventArgs(
Cursor *cursor,
SystemGesture *id,
Point *pt,
int *modifier,
char *c,
int *mode
);

Parameters

> > > > > > > > > > > > > > > > > > >
cursor Microsoft.Ink.Cursor. The Cursor used to create the Stroke object.
id Microsoft.Ink.SystemGesture. The value of the SystemGesture enumeration that corresponds to the system gesture.

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.
ptSystem.Drawing.Point. The location of the hot point for the system gesture.
modifierSystem.Int32. Reserved.
cSystem.Char. Reserved.
modeSystem.Int32. Set to 1 if the Cursor object is in ink mode; 2 if the Cursor object is in erase mode.

Remarks

cursor of type Cursor is the cursor used to perform the gesture. id of type SystemGesture is the gesture's id. pt is the location of the gesture. modifier is the gesture modifier (e.g. control alt). c is the character associated with the gesture. mode is the mode of the cursor during the gesture.

See Also