Virtual​Key​Modifiers Virtual​Key​Modifiers Virtual​Key​Modifiers Enum


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.

public enum VirtualKeyModifierspublic enum VirtualKeyModifiersPublic Enum VirtualKeyModifiers
System.FlagsAttribute ContractVersionAttribute
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Control Control Control

The Ctrl (control) virtual key.

Menu Menu Menu

The Menu virtual key.

None None None

No virtual key modifier.

Shift Shift Shift

The Shift virtual key.

Windows Windows Windows

The Windows virtual key.