Our application uses data bound ribbon context menus (i.e. binding ItemsSource with a DataTemplate to create Buttons etc) and we've discovered that access keys aren't working properly. If I set KeyTipAccessText in the template then the correct letter is underlined in the menu, but pressing the key does nothing. Using the cursor keys/enter to navigate the menu works OK, so I don't think its a focus issue. A menu that is defined directly in XAML works OK. Is this a bug, or are we just missing a property somewhere?
There are also a couple of inconsistencies with standard WPF context menus that I noticed:
- If two menu items are defined with the same access key, the standard menu cycles between them when pressing the key and you have to press Enter to select it. The ribbon context menu just activates the first item when the key is pressed.
- The access key underlines are always visible in a ribbon context menu, unliked a standard menu when they only appear if you invoke the menu from the keyboard (I think there is a setting for this in Contrl Panel somewhere).
I've sent a sample demonstrating the problem to support