Class GestureEventArgs
Provides data for gesture events that occur when touch or stylus gestures are performed on a control.
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class GestureEventArgs : EventArgs
Remarks
GestureEventArgs contains information about touch gestures such as pan, zoom, rotate, and tap operations. It provides access to gesture state, type, and properties needed to implement touch-based interactions in RadControls.
The class exposes gesture timing information (begin/end states), inertia detection, and the ability to mark events as handled to prevent further processing.
This event data is essential for implementing modern touch interfaces and gesture recognition in WinForms applications running on touch-enabled devices.
Properties
GestureType
The type of the gesture that has occurred.
Declaration
public GestureType GestureType { get; }
Property Value
GestureType
|
Handled
[true] if the event has been handled and should not be processed further, [false] otherwise.
Declaration
public bool Handled { get; set; }
Property Value
System.Boolean
|
IsBegin
[true] if this is the beginning of the gesture, [false] otherwise.
Declaration
public bool IsBegin { get; }
Property Value
System.Boolean
|
IsEnd
[true] if this is the end of the gesture, [false] otherwise.
Declaration
public bool IsEnd { get; }
Property Value
System.Boolean
|
IsInertia
[true] if the event was caused by inertia, [false] otherwise.
Declaration
public bool IsInertia { get; }
Property Value
System.Boolean
|
Location
The location of the gesture.
Declaration
public Point Location { get; }
Property Value
System.Drawing.Point
|