Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CoreVirtualKeyStates Enum

Definition

Namespace:
Windows.UI.Core

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Specifies flags for indicating the possible states of a virtual key.

This enumeration supports a bitwise combination of its member values.

public enum class CoreVirtualKeyStates
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class CoreVirtualKeyStates
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum CoreVirtualKeyStates
Public Enum CoreVirtualKeyStates
Inheritance
CoreVirtualKeyStates
Attributes

Windows requirements

Requirements Description
Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
None 0

The key is up or in no specific state.

Down 1

The key is pressed down for the input event.

Locked 2

The key is in a toggled or modified state (for example, Caps Lock) for the input event.

Applies to

See also


Feedback

Was this page helpful?