A2v10 Platform documentation
UK


Accel Elements

Represents the description of the accelerator (hotkey).

Used by: TextBox, AccelCommand.

Properties

Name Type Description
Key String Accelerator (hot key). It is set in the form of a key name and optional (one or more) modifiers. Modifiers and key names are separated by a "+" sign.

Key names

Unit Description
A..Z, 0..9 Alphanumeric keys.
F0..F12 Functional keys.
Left, Right, Up, Down Arrow keys.
PageUp, PageDown, Insert, Delete,
Enter, Escape, Tab, Home, End,
Backspace, Delete
Control keys.

Modifiers

Unit Description
Control, Ctrl Control key.
Shift Shift key.
Alt Alt key.
Meta Windows - key ⊞ Windows.
Mac - key ⌘ Command.
Please note, may not work in all browsers.

Converter

Conversion from text string is supported. The string will simply be the value of the Key property.

Example

XAML