Hi,
We are using serveal MenuTool in our header area to provide menus. While tabbing between these menus I am not visually seeing the item meu getting selected. Is there any property which I should set inorder to see the selection change? all these menutools are kept under a toolbartray.
Thanks,
Praneesh
Hello Praneesh,
We are still following this forum thread.
If you have any other questions or concerns about this matter please do not hesitate to contact us.
Since currently the menutool doesn’t support the behavior that you require I submitted this functionality as new product idea on your behalf. Your reference number for this is PI12060100. Furthermore I can suggest you take a look at our XamMenu control which provides such functionality. You can try our XamMenu in our sample browser in the section XamMenu->Data or at the following link:
http://samples.infragistics.com/sllob/menu/sl/#/ilist-ienumerable
Regarding the hot key I noticed that the Microsoft menutool shows a similar behavior as our control. For example if you open Microsoft Excel in the section Formulas->MoreFunctions you can notice that the hot keys still are not available.
If you have any further questions with this matter please feel free to ask.
Hello Elena,
Thanks for your time and answer. I agree that Menutool is designed to use in xamribbon and it doesnt require any focus. Is there any work arround in my case where it reflect the focus?
I still find second issue bit a strage becuase the short cut key 'R" should expand the child collection as it happens in MS office or outlook. The sub menu will have commands associated with different short kut keys.
Thank you for the sample. I have been looking into it and I noticed that one of your buttons is from type MenuTool and the other is simple Button. By default our MenuTool is design to work with the XamRibbon control and it is not design to receive the focus when you tab over it- currently this is the default behavior of the control.
Regarding your second issue: the reason ‘R’ shortcut doesn’t execute anything is because in your case you create child menuItem inside the “_Recent”. In this case you can notice that even clicking over the button will not fire the attached command because the menu tool should only expand the child items. Therefore if you want to enable the shortcut you can attach it to a toolMenuItem that doesn’t have children. For example if you try the following code snippet the ‘R’ shortcut will cut any selected text:
Please let me know if you have any additional questions with this matter.
<igRibbon:MenuTool Name="_AddButton" ButtonType="Segmented" SmallImage="tick.png" IsEnabled="True"> <igRibbon:ToolMenuItem Name="RecentSearchesMenu" Command="Cut" Header="_Recent"> </igRibbon:ToolMenuItem> <igRibbon:ToolMenuItem Name="QuickSearchesMenu" Header="_Quick Searches"/> </igRibbon:MenuTool>
Hi Elena,
Did you have a look at the sample I have attached?