This example demonstrates how to allow an end-user to navigate between NavBar groups and items using the keyboard.
The solution provides the following key combinations:
- Tab/Shift+Tab to change a group;
- Up/Down to go to the previous/next NavBar item;
- Left/Right to reduce/expand a selected group;
To enable this feature in your application, we have created a NavBarKeyboardHelper class, which can be used as attached behavior for NavBarControl. For instance:
[XML]<dxn:NavBarControl><i:Interaction.Behaviors><dxm:NavBarKeyboardHelper/></i:Interaction.Behaviors><dxn:NavBarControl>
The Silverlight version has one limitation: it does not support themes. We have adapted only the Seven theme to enable this feature.