VirtualKeyModifiers VirtualKeyModifiers VirtualKeyModifiers VirtualKeyModifiers 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.

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

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