TouchLocation Structure

XNA Game Studio 3.1
This structure is available only when developing for Zune.
Provides methods and properties for interacting with a touch location on a touch screen device.

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

public struct TouchLocation : IEquatable<TouchLocation>

The TouchLocation structure contains information, such as screen location, current state, and amount of pressure, for a registered touch location item. A collection of current touch locations is stored in the TouchCollection object of the touch screen device.

Community Additions