VirtualKeyModifiers 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 VirtualKeyModifiers
enum class winrt::Windows::System::VirtualKeyModifiers : uint32_t
public enum VirtualKeyModifiers
Public Enum VirtualKeyModifiers
var value = Windows.System.VirtualKeyModifiers.control;
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 Control 1

The Ctrl (control) virtual key.

Menu Menu Menu Menu Menu 2

The Menu virtual key.

None None None None None 0

No virtual key modifier.

Shift Shift Shift Shift Shift 4

The Shift virtual key.

Windows Windows Windows Windows Windows 8

The Windows virtual key.

See Also