Skip to main content

Default Keyboard Hotkeys

  • 2 minutes to read

The Bars library enables end-users to navigate through bars and invoke link functionality using the keyboard. This topic contains a list of available key combinations.

Keys

Description

ALT

Switches keyboard focus to the first link of the main menu. If bars already have keyboard focus, it is removed. Note that you can also set keyboard focus to any of the links associated with the BarManager. Use the BarManager.SelectLink method for this purpose.

Left and Right Arrows

Navigate left and right through bar links. If the currently selected link is in a sub-menu, pressing these keys result in navigating to the neighboring link within the owning bar and expanding its sub-menu (if it is present). In this case, the first link within the expanded sub-menu becomes focused.

If a bar is oriented vertically, the left and right arrow keys navigate up and down through links respectively.

Up and Down Arrows

Navigate up and down through links of a sub-menu or a popup menu. The down arrow key expands sub-menus when their owning links are focused.

ESC

Closes the currently expanded sub-menu or popup menu. If a sub-menu is closed, its owning link obtains keyboard focus.

TAB

Navigates right through links of a bar. If a bar is oriented vertically, navigates down through its links.

SHIFT+TAB

Navigates left through links of a bar. If a bar is oriented vertically, navigates up through its links.

CTRL+TAB

Moves keyboard focus to another bar. Bars are visited in the same order as in the BarManager.Bars collection of the BarManager.

ENTER

Invokes the focused link’s functionality. Equivalent to clicking a link.

Accelerator Keys

These are key combinations constructed using the ALT key and a character that follows the ampersand in the link’s caption. (For instance, if the link’s caption is ‘&File‘, its accelerator key is the ALT+F combination). These key combinations invoke the referred link’s functionality. Equivalent to clicking a link.