Partager via


TouchPanel.EnabledGestures Property

Gets or sets the gestures that are enabled for the touch panel.

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

Syntax

public static GestureType EnabledGestures { get; set; }

Property Value

A single gesture, or a combination of gestures, as listed in the GestureType enumeration.

See Also

Tasks

Detecting Gestures on a Multitouch Screen (Windows Phone)
Working with Touch Input (Windows Phone)

Reference

TouchPanel Class
TouchPanel Members
Microsoft.Xna.Framework.Input.Touch Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP