UIKeyModifierFlags UIKeyModifierFlags Enum

Definition

An enumeration whose values flag the hardware modifier keys associated with a UIKeyCommand.

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

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum UIKeyModifierFlags
type UIKeyModifierFlags = 
Inheritance
UIKeyModifierFlagsUIKeyModifierFlags
Attributes

Fields

AlphaShift AlphaShift 65536

The caps lock is pressed.

Alternate Alternate 524288

The option key is pressed.

Command Command 1048576

The command key is pressed.

Control Control 262144

The control key is pressed.

NumericPad NumericPad 2097152

The pressed key is on the numeric pad.

Shift Shift 131072

The shift key is pressed.

Applies to