Telerik blogs

The Keyboard navigation major feature is now available with the Q2 ServicePack1 release. You can start using it immediately in WPF and Silverlight and as a result enhance your application’s Usability and Accessibility.

KeyTipsWin7

Try it yourself.

The API

The API is pretty straight-forward. First you should enable Key tips, for the instance of a RadRibbonBar, with simple attached property like follows.

<telerik:RadRibbonBar telerik:KeyTipService.IsKeyTipsEnabled="True">

Then you can attach key tip text to every component in the RadRibbonBar with simple line of code.

<telerik:ApplicationMenu telerik:KeyTipService.AccessText="F"> 

Some components need alternative key tip activation text like the RibbonGroup. Foe example one could be used for the DialogLauncher button and one for the group itself, when the group is collapsed due to insufficient space.

<telerik:RadRibbonGroup telerik:KeyTipService.AccessText="FN"
                telerik:KeyTipService.AltAccessText="ZF">

Usage

  • You can show the key tips by pressing CTRL + Q for Silverlight or ALT for WPF.
  • When you select a key tip – it executes the control’s action.
    • Selects RibbonTab
    • Opens DropDown or Split button
    • Opens Ribbon gallery
    • Drops ContextMenu
    • Executes click if normal Button
    • Toggles the state of ToggleButton
    • Expands RibbonGroup if it’s collapsed
  • You can navigate back thought the layers of the key tips using Esc key.

Features

  • Key tips are themeable related to your selected telerik’s theme.
  • Can be customized by changing KeyTipControl's ControlTemplate.

Download the sample project.


About the Author

Miroslav Miroslavov

is XAML enthusiast. You can follow him on Twitter at @mmiroslavov.

 

Comments

Comments are disabled in preview mode.