0 out of 1 rated this helpful - Rate this topic

KeyboardCapabilities class

Applies to Windows and Windows Phone

Supports the ability to determine the capabilities of any connected hardware keyboards.

Syntax


var keyboardCapabilities = new Windows.Devices.Input.KeyboardCapabilities();

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Members

The KeyboardCapabilities class has these types of members:

Constructors

The KeyboardCapabilities class has these constructors.

ConstructorDescription
KeyboardCapabilities Initializes a new instance of the KeyboardCapabilities class.

 

Properties

The KeyboardCapabilities class has these properties.

PropertyAccess typeDescription

KeyboardPresent

Read-onlyGets 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.

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.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Input
Windows::Devices::Input [C++]

Metadata

Windows.winmd

See also

Quickstarts
Quickstart: Identifying input devices
Reference
Windows.Devices.Input

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.