Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
public delegate void InkCollectorSystemGestureEventHandler( Object sender, InkCollectorSystemGestureEventArgs e )
When you create an 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.
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.
As another example, instead of listening for MouseDown and MouseMove events and getting numerous MouseMove messages, 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.
The event handler in this example displays system gesture information on a status bar label, statusLabelSysGesture.
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.