Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TouchLocation Structure

Provides methods and properties for interacting with a touch location on a touch screen device.

Namespace: Microsoft.Xna.Framework.Input.Touch
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.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

© 2017 Microsoft