Partager via


TouchLocationState Enumeration

Defines the possible states of a touch location.

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

Syntax

public enum TouchLocationState

Members

  Member name Description
Invalid This touch location position is invalid. Typically, you will encounter this state when a new touch location attempts to get the previous state of itself.
Moved This touch location position was updated or pressed at the same position.
Pressed This touch location position is new.
Released This touch location position was released.

See Also

Tasks

Working with Touch Input (Windows Phone)

Reference

Microsoft.Xna.Framework.Input.Touch Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP