System gestures give information about the Cursor object that is being used to create the gesture. They also provide shortcuts to combinations of mouse events and are effective ways to detect mouse events.
For example, instead of listening for a pair of MouseUp and MouseDown events with no other mouse events occurring in between, listen for the Tap or RightTap system gestures.
As another example, instead of listening for MouseDown and MouseMove events and getting numerous MouseMove messages, you can listen for the Drag or RightDrag system gestures as long as you have no need for the (x, y) coordinates of every position of the mouse. This allows you to receive only one message instead of numerous MouseMove messages.
For a list of specific system gestures, see the SystemGesture enumeration type. For more information about system gestures, see Pen Input, Ink, and Recognition.
The event handler receives an argument of type InkCollectorSystemGestureEventArgs that contains data about this event.
When you create an InkCollectorSystemGestureEventHandler delegate, you identify the method that handles the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.