TouchCollection Members
The following tables list the members exposed by the TouchCollection type.
Public Constructors
Name | Description | |
---|---|---|
![]() |
TouchCollection | Initializes a new instance of the TouchCollection structure with a set of touch locations. |
Public Properties
Name | Description | |
---|---|---|
![]() |
Count | Gets the current number of touch locations for the touch screen. |
![]() |
IsConnected | Indicates if the touch screen is available for use. |
![]() |
IsReadOnly | Determines if the touch location array is read-only. |
![]() |
Item | Gets or sets the information of the specified touch location. |
Public Methods
Name | Description | |
---|---|---|
![]() |
Add | Adds a TouchLocation to the collection. |
![]() |
Clear | Removes all TouchLocation objects from the collection. |
![]() |
Contains | Checks if the current touch collection contains the specified touch location. |
![]() |
CopyTo | Copies the touch location to the collection at the specified index. |
![]() |
Equals | (Inherited from ValueType.) |
![]() |
FindById | Retrieves the touch location matching the specified ID. |
![]() |
GetEnumerator | Returns an enumerator that iterates through the TouchCollection. |
![]() |
GetHashCode | (Inherited from ValueType.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
IndexOf | Determines the index of a TouchLocation in the TouchCollection. |
![]() |
Insert | Inserts a new TouchLocation into the TouchCollection at a specified index. |
![]() |
Remove | Removes the specified TouchLocation from the TouchCollection. |
![]() |
RemoveAt | Removes a TouchLocation at the specified index in the TouchCollection. |
![]() |
ToString | (Inherited from ValueType.) |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
System.Collections.IEnumerable.GetEnumerator | Returns an enumerator that iterates through the TouchCollection. |
See Also
Reference
TouchCollection Structure
Microsoft.Xna.Framework.Input.Touch Namespace