TouchPanel.IsGestureAvailable Property

Used to determine if a touch gesture is available.

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

public static bool IsGestureAvailable { get; }

Property Value

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.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show: