TouchPanel.IsGestureAvailable Property

Used to determine if a touch gesture is available.

public static bool IsGestureAvailable { get; }

Property Value

Type: Boolean
true if there are any touch gestures available to read; false otherwise.

Before gestures can become available, they first must be set with the TouchPanel.EnabledGestures property.

If IsGestureAvailable is true, TouchPanel.ReadGesture can be used to read the gesture data.

Namespace: Microsoft.Xna.Framework.Input.Touch
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Windows Phone

Community Additions