Shortcut keys for Office Ribbon controls

Aug 20, 2009 at 9:49 AM

I tried to create ShortCut keys for Office Ribbon controls like:

        <CommandBinding x:Name="cmdExit" Command="{x:Static i:ApplicationCommands.exit}"></CommandBinding>
        <KeyBinding Command="{x:Static i:ApplicationCommands.exit}" Gesture="Ctrl+E"></KeyBinding>

However, I needed to assign the Binding to the Command for the Ribbon control. However, the Ribbon control Command is already bound to RibbonCommand resource. So, is there any way to bind shortcut keys in Office UI ribbon controls??

As a side question, I last visited the Office UI site probably in November last year. As it was a CTP, I did not pursue it further. This time, when I returned, to my surprise, there was the same CTP. Isn't an upgrade to the CTP planned? More importantly, is there a release date for V1 of the UI. I read CodePlex only that it was to be relased around the middle of this year.

Aug 25, 2009 at 8:58 PM

Hi r_honey,

The scenario you describe above is broken in the current CTP and is actually one of the reasons why we decided to get rid of RibbonCommand and change the Ribbon architecture in the upcoming release.  You will be able to do this like you would with other traditional WPF controls in CTP2 and V1, but there is no easy way to achieve this using the current release.

Yes, unfortunately the Ribbon schedule has slipped significantly in light of our commitments to .NET 4.0.  We do plan on releasing an CTP2 and V1 within the coming months, but are not able to commit to a date at this time.  We were originally hoping to ship CTP2 this summer, but we were not able to achieve that goal since we had obligations for .NET 4.0 which we needed to fulfill.  We are actively working on Ribbon, though, and will provide a timeline for releasing the second CTP and V1 as soon as our schedule is stable enough to commit to dates.


Aug 26, 2009 at 3:10 PM

Thanx for the reply Samantha. I hope for an early release of atleast CTP2 of the Ribbon.