VirtualKeyModifiers VirtualKeyModifiers VirtualKeyModifiers VirtualKeyModifiers Enum

Definition

Specifies the virtual key used to modify another keypress. For example, the Ctrl key when pressed in conjunction with another key, as in Ctrl+C.

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

public : enum class VirtualKeyModifierspublic enum VirtualKeyModifiersPublic Enum VirtualKeyModifiers// You can use this enum in JavaScript.
Attributes
System.FlagsAttribute ContractVersionAttribute
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Control Control Control Control

The Ctrl (control) virtual key.

Menu Menu Menu Menu

The Menu virtual key.

None None None None

No virtual key modifier.

Shift Shift Shift Shift

The Shift virtual key.

Windows Windows Windows Windows

The Windows virtual key.