KeyboardCapabilities class

This topic has not yet been rated - Rate this topic

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.

ConstructorDescription
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.

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.

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

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

Metadata

Windows.winmd

See also

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

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.