Supports the ability to determine the touch capabilities of any connected touch digitizers.
Syntax
var touchCapabilities = new Windows.Devices.Input.TouchCapabilities();
Attributes
- ActivatableAttribute(NTDDI_WIN8)
- MarshalingBehaviorAttribute(Agile)
- VersionAttribute(NTDDI_WIN8)
Members
The TouchCapabilities class has these types of members:
Constructors
The TouchCapabilities class has these constructors.
| Constructor | Description |
|---|---|
| TouchCapabilities | Initializes a new instance of the TouchCapabilities class. |
Methods
The TouchCapabilities class inherits methods from the Object class (C#/VB/C++).
Properties
The TouchCapabilities class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only | Gets the minimum number of contacts supported by all the digitizers. | |
| Read-only | Gets a value that indicates whether a touch digitizer is detected. |
Remarks
The values returned by the properties discussed here are based on the total number of touch digitizers connected: Boolean properties return true if one digitizer supports a specific capability and numeric properties return the maximum value exposed by all digitizers.
The Device Capabilities Sample demonstrates how to detect the presence of input devices and retrieve the capabilities and attributes of each device.
Windows Phone 8
This API is not implemented and will throw an exception if called.
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps only] |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 2/25/2013