Table of Contents

Enum RawModifierKeys

Namespace
Alternet.UI
Assembly
Alternet.UI.Interfaces.dll

The RawModifierKeys enumeration describes a set of keys used to modify other input operations, including macOS-specific keys.

[TypeConverter("Alternet.UI.ModifierKeysConverter")]
[ValueSerializer("Alternet.UI.ModifierKeysValueSerializer")]
[Flags]
public enum RawModifierKeys

Fields

Alt = 1

The "Alt" key on Windows and Linux or "Option" key on macOS.

Control = 2

A "Control" key on Windows and Linux or "Command" key on macOS. Value is 0x0002.

MacCommand = 16

The "Command" key on Apple keyboard.

MacControl = 64

The "Control" key on Apple keyboard.

MacOption = 32

The "Option" key on Apple keyboard.

None = 0

No modifiers are pressed.

Shift = 4

A shift key. Value is 0x0004.

Windows = 8

The Microsoft "Windows" key on Windows or "Control" key on macOS or "Meta" key on Linux. Value is 0x0008.

Remarks

This enumeration supports a bitwise combination of its member values.