Supports the ability to determine the capabilities of any connected hardware keyboards.
Syntax
var keyboardCapabilities = new Windows.Devices.Input.KeyboardCapabilities();
Attributes
- ActivatableAttribute(NTDDI_WIN8)
- MarshalingBehaviorAttribute(Agile)
- VersionAttribute(NTDDI_WIN8)
Members
The KeyboardCapabilities class has these types of members:
Constructors
The KeyboardCapabilities class has these constructors.
| Constructor | Description |
|---|---|
| KeyboardCapabilities | Initializes a new instance of the KeyboardCapabilities class. |
Methods
The KeyboardCapabilities class inherits methods from the Object class (C#/VB/C++).
Properties
The KeyboardCapabilities class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only | Gets a value that indicates whether a hardware keyboard is detected. |
Remarks
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
- Quickstarts
- Quickstart: Identifying input devices
- Reference
- Windows.Devices.Input
Build date: 2/25/2013