VirtualKeyModifiers

June 22, 2022 ยท View on GitHub

-description

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.

-enum-fields

-field None:0

No virtual key modifier.

-field Control:1

The Ctrl virtual key.

-field Menu:2

The Alt virtual key.

-field Shift:4

The Shift virtual key.

-field Windows:8

The Windows virtual key.

-remarks

This enum is used with the Modifiers property of a KeyboardAccelerator object. For more information, including code examples, see Keyboard Accelerators.

-examples

-see-also

Keyboard Accelerators, Windows.System.VirtualKey