Keyboard Support
RadWindow manager supports keyboard shortcuts to commands.
Shortcuts can be used as an accessibility feature, or to make the work of the
user more convenient.
Shortcuts can be used to switch between active windows, to maximize
or close the current active window, and other tasks - each public API
method of the client RadWindowManager that does not require parameters can be
associated with a shortcut.
Shortcuts are specified in the code-behind, using the Shortcuts property (of
type collection) of RadWindowManager, for example:
//Shortcuts specified in this
example
Singleton.Shortcuts.Add(
new WindowShortcut("MinimizeAll",
"ALT+F2"));
Singleton.Shortcuts.Add(
new WindowShortcut("RestoreAll",
"ALT+F3"));
Singleton.Shortcuts.Add(
new WindowShortcut("CloseActiveWindow",
"CTRL+F5"));
Singleton.Shortcuts.Add(
new WindowShortcut("MinimizeActiveWindow",
"CTRL+F9"));
Singleton.Shortcuts.Add(
new
WindowShortcut("ToggleMaximizeActiveWindow", "CTRL+F10"));
Note: There are several default shortcuts that are automatically enabled for
RadWindowManager. If you wish to clear those, use the Shortcuts.Clear()
method. The default shortcuts are:
"FocusNextWindow" =>
"CTRL+TAB"
"MinimizeAll" =>
"CTRL+F2"
"EscapeActiveWindow" =>
"ESC"