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 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.
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
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.