NSEventModifierMask Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a bitmask of modifier keys, such as Shift, Control, or Command, that were held down when an event occurred.
This enumeration supports a bitwise combination of its member values.
[ObjCRuntime.Native]
[System.Flags]
public enum NSEventModifierMask
[<ObjCRuntime.Native>]
[<System.Flags>]
type NSEventModifierMask =
- Inheritance
-
NSEventModifierMask
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| AlphaShiftKeyMask | 65536 | The Caps Lock key is engaged. |
| ShiftKeyMask | 131072 | A Shift key is held down. |
| ControlKeyMask | 262144 | A Control key is held down. |
| AlternateKeyMask | 524288 | An Option (Alternate) key is held down. |
| CommandKeyMask | 1048576 | A Command key is held down. |
| NumericPadKeyMask | 2097152 | The key is located on the numeric keypad. |
| HelpKeyMask | 4194304 | The Help key is held down. |
| FunctionKeyMask | 8388608 | The key is a function key, such as F1 through F12, or an arrow key. |
| DeviceIndependentModifierFlagsMask | 4294901760 | A mask covering all of the device-independent modifier flags. |