How do I programmatically open the Ribbon Application Menu?
I have a reference to the Ribbon in an event handler.
How do I cause the ApplicationMenu to open and display?
Much apprecaited!
Karl
Hello,
I have been looking into your requirement and I can say that The ApplicationMenu items should be MenuToolItems in order to work correctly and they shoudn't get the focus, becasue the whole XamRibbon is not meant to take the Focus.
Its not working for me.
I have a datagrid in ApplicationMenu.Recent Items. Now clicking on datagrid row Application menu is closing. I want Application menu should close only on button click not on datagrid row click
Thank you for a very quick response and have a wonderful day!
Hello Karl,
You can open programmatically the application menu by just setting its IsOpen property to true. You can try the following snippet:
myRibbon.ApplicationMenu.IsOpen = true;
For additional reference about the AppliationMenu of our XamRibbon control you can check the following link from our documentation:
http://help.infragistics.com/Help/NetAdvantage/WPF/2012.1/CLR4.0/html/xamRibbon_Application_Menu.html
If you have any further questions on this matter feel free to ask.