Version

GestureStarting Event

Fired when the user begins a touch input digitizer gesture.
Syntax
'Declaration
 
Public Event GestureStarting As GestureStartingHandler
public event GestureStartingHandler GestureStarting
Event Data

The event handler receives an argument of type GestureStartingEventArgs containing data related to this event. The following GestureStartingEventArgs properties provide information specific to this event.

PropertyDescription
Cancel (Inherited from System.ComponentModel.CancelEventArgs) 
Gesture Returns a constant identifying the gesture which triggered this event.
Location Returns the location of the touch point at which the gesture started, expressed in client coordinates.
Remarks

The GestureStarting event fires when the system recognizes the touch input which has occurred since the firing of the GestureQueryStatus event as a supported gesture.

The gesture can be identified via the Gesture property of the event arguments.

The gesture can be canceled by setting the Cancel property of the event arguments to true. Canceling the event prevents firing of the event associated with that gesture, and prevents the control's internal processing of the gesture.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also