Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1735
How to add access key to ApplicationMenu2010Item element?
posted

I would like to associate a Keyword Shortcut to the ApplicationMenuItem like you can associate with a Button.

If we would do:

  <igRibbon:ButtonTool Name="test" Caption="T_est" Command="{Binding MyCommand}"/>

That Button gets the "Alt+E" shortcut associated. By simply adding an Underscore to the Caption of the Button.

How can we accomplish the same with the ApplicationMenu2010Item, but when we do:

<igRibbon:ApplicationMenu2010Item Name="test" Header="T_est" Command="{Binding MyCommand}" >
</igRibbon:ApplicationMenu2010Item>

The Application shows the text of the item with the underscore. Although It seems that it does assign the shortcut.

What is the correct way to achieve what we want?

Parents Reply Children