Class TouchInput
Touch Input (TouchScreen devices)
public static class TouchInput : Object- Inheritance
- 
      
      TouchInput
Properties
AnyTouch
Check if there is any Touch event just happened
public static bool AnyTouch { get; }Property Value
- bool
- True if there are any touches in the Down or Moved state, false otherwise 
AnyTouchDown
Check if there is any TouchDown event that just happened
public static bool AnyTouchDown { get; }Property Value
AnyTouchUp
Check if there is any TouchUp event that just happened
public static bool AnyTouchUp { get; }Property Value
IsDoubleTapEnabled
Enable/Disable Double Tap gesture
public static bool IsDoubleTapEnabled { get; set; }Property Value
IsLongPressEnabled
Enable/Disable Long Press gesture
public static bool IsLongPressEnabled { get; set; }Property Value
IsNodeEventsEnabled
Enable/Disable touch/gesture node events Tap/DoubleTap/LongPress/TouchUpInside
public static bool IsNodeEventsEnabled { get; set; }Property Value
IsPanEnabled
Enable/Disable Pan gesture
public static bool IsPanEnabled { get; set; }Property Value
IsPinchEnabled
Enable/Disable Pinch gesture
public static bool IsPinchEnabled { get; set; }Property Value
IsSwipeEnabled
Enable/Disable Swipe gesture
public static bool IsSwipeEnabled { get; set; }Property Value
IsTapEnabled
Enable/Disable Tap gesture
public static bool IsTapEnabled { get; set; }Property Value
Touches
Get current frame touches information
public static TouchInfo[] Touches { get; }Property Value
Methods
DisableGestures()
Disable All Touch gestures
public static void DisableGestures()InvokeDoubleTap(PointF)
Invoke DoubleTap event handlers
public static void InvokeDoubleTap(PointF location)Parameters
- locationPointF
InvokeLongPress(PointF)
Invoke LongPress event handlers
public static void InvokeLongPress(PointF location)Parameters
- locationPointF
InvokeTap(PointF)
Invoke Tap event handlers
public static void InvokeTap(PointF location)Parameters
- locationPointF
InvokeTouchDown(TouchInfo)
Invoke TouchDown handlers
public static void InvokeTouchDown(TouchInfo touchInfo)Parameters
- touchInfoTouchInfo
InvokeTouchMove(TouchInfo)
Invoke TouchMove handlers
public static void InvokeTouchMove(TouchInfo touchInfo)Parameters
- touchInfoTouchInfo
InvokeTouchUp(TouchInfo)
Invoke TouchUp handlers
public static void InvokeTouchUp(TouchInfo touchInfo)Parameters
- touchInfoTouchInfo
ResetTouch()
Reset Touch buffer (used by tests)
public static void ResetTouch()