共用方式為


TouchPanel.GetState Method

Gets the current state of the touch panel.

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

Syntax

public static TouchCollection GetState ()

Return Value

State of the touch panel and any existing touch locations.

See Also

Tasks

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