Upravit

Sdílet prostřednictvím


UIKeyModifierFlags Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
AlphaShift 65536

The caps lock is pressed.

Shift 131072

The shift key is pressed.

Control 262144

The control key is pressed.

Alternate 524288

The option key is pressed.

Command 1048576

The command key is pressed.

NumericPad 2097152

The pressed key is on the numeric pad.

Applies to