CoreVirtualKeyStates CoreVirtualKeyStates CoreVirtualKeyStates CoreVirtualKeyStates Enum

Definition

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

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

public : enum class CoreVirtualKeyStates
public enum CoreVirtualKeyStates
Public Enum CoreVirtualKeyStates
var value = Windows.UI.Core.CoreVirtualKeyStates.down;
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Down Down Down Down

The key is pressed down for the input event.

Locked Locked Locked Locked

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

All keys support the Locked state (not just the standard Caps Lock and Num Lock keys).

None None None None

The key is up or in no specific state.