Enum ModifierKeys
The ModifierKeys enumeration describes a set of common keys used to modify other input operations.
[TypeConverter("Alternet.UI.ModifierKeysConverter")]
[ValueSerializer("Alternet.UI.ModifierKeysValueSerializer")]
[Flags]
public enum ModifierKeys
Fields
Alt = 1
The "Alt" key on Windows and Linux or "Option" key on macOS.
AltShift = Alt | Shift
Both Alt and Shift modifiers are pressed.
Control = 2
A "Control" key on Windows and Linux or "Command" key on macOS.
ControlAlt = Alt | Control
Both Control and Alt modifiers are pressed.
ControlShift = Control | Shift
Both Control and Shift modifiers are pressed.
ControlShiftAlt = Alt | ControlShift
Control+Shift+Alt pressed.
None = 0
No modifiers are pressed.
Shift = 4
A shift key.
Windows = 8
The Microsoft "Windows" key on Windows or "Control" key on macOS or "Meta" key on Linux.
WindowsShift = Shift | Windows
Both Windows and Shift modifiers are pressed.
Remarks
This enumeration supports a bitwise combination of its member values.