Share via


KeyboardAcceleratorModifiers Enum

Definition

Enumerates modifier flags for keyboard accelerators. MacCatalyst modifiers AlphaShift and NumericPad are not currently supported.

This enumeration supports a bitwise combination of its member values.

public enum class KeyboardAcceleratorModifiers
[System.Flags]
public enum KeyboardAcceleratorModifiers
[<System.Flags>]
type KeyboardAcceleratorModifiers = 
Public Enum KeyboardAcceleratorModifiers
Inheritance
KeyboardAcceleratorModifiers
Attributes

Fields

Name Value Description
None 0

Indicates no modifier.

Shift 1

Indicates Shift modifier on both MacCatalyst and Windows.

Ctrl 2

Indicates Control modifier on both MacCatalyst and Windows.

Alt 4

Indicates Option modifier on MacCatalyst, Menu modifier on Windows.

Cmd 8

Indicates Command modifier on MacCatalyst only.

Windows 16

Indicates Windows modifier on Windows only.

Applies to