Keyboard Shortcuts in Ribbon?

Jul 8, 2009 at 5:23 PM
Edited Jul 8, 2009 at 5:25 PM

I am having trouble figuring out how to implement keyboard shortcuts in the ribbon.  I see there is an InputGestureText property in RibbonApplicationMenuItem, but it does not seem to work.

<r:RibbonApplicationMenuItem InputGestureText="Ctrl+S" Command="{StaticResource SaveCommand}" />

in the xaml example above, SaveCommand is a RibbonCommand.  I thought maybe there was some way to set it up in the RibbonCommand, but I didn't see anything.

What is the recommended way to do this?

Jul 8, 2009 at 7:38 PM

Hi, the Ribbon CTP does not have keyboard shortcuts implemented yet.  In V1, we will have the KeyTip feature which will allow you to specify keyboard shortcuts.  Thanks!