Partager via


TouchPanel Members

The following tables list the members exposed by the TouchPanel type.

Public Properties

Name Description
Public Property Static DisplayHeight Gets or sets the display height of the touch panel.
Public Property Static DisplayOrientation Gets or sets the display orientation of the touch panel.
Public Property Static DisplayWidth Gets or sets the display width of the touch panel.
Public Property Static EnabledGestures Gets or sets the gestures that are enabled for the touch panel.
Public Property Static IsGestureAvailable Used to determine if a touch gesture is available.
Public Property Static WindowHandle The window handle of the touch panel.

Public Methods

Name Description
Public Method Static GetCapabilities Gets the touch panel capabilities for an available device.
Public Method Static GetState Gets the current state of the touch panel.
Public Method Static ReadGesture Reads an available gesture on the touch panel.

See Also

Reference

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