Keyboard Navigation
Along with its other features, RadMenu
supports keyboard navigation. You can easily navigate through the items by just pressing the arrow keys on your keyboard or you can use the access key functionality.
Arrow Keys
When a RadMenuItem is selected you can navigate through its children using the arrow keys of the keyboard. On the image below you can see a demonstration of different key presses and the result of them.
Access Keys
The Access Keys allows you to reach a specific RadMenuItem inside a RadMenu control by holding down the Alt or F10 key and then pressing another key on the keyboard. To define an Access Key of a RadMenuItem you need to place an underscore character before the letter in the Header property of the control.
Setting Access Keys
<telerik:RadMenu>
<telerik:RadMenuItem Header="_File">
<telerik:RadMenuItem Header="_New" />
<telerik:RadMenuItem Header="_Options" >
<telerik:RadMenuItem Header="_Save" />
<telerik:RadMenuItem Header="_Paste" />
</telerik:RadMenuItem>
</telerik:RadMenuItem>
<telerik:RadMenuItem Header="_View" >
<telerik:RadMenuItem Header="_Code" />
<telerik:RadMenuItem Header="_Sizes" >
<telerik:RadMenuGroupItem Header="Sizes" >
<telerik:RadMenuItem Header="_Small" Height="35" />
<telerik:RadMenuItem Header="_Medium" Height="45" />
<telerik:RadMenuItem Header="_Large" Height="55"/>
</telerik:RadMenuGroupItem>
</telerik:RadMenuItem>
</telerik:RadMenu>
Main Menu
<telerik:RadMenu IsMainMenu="true">
. . . . .
</telerik:RadMenu>