1810
Close Ribbon File Menu - Toolbar per code
posted

Hi all!

Is there a way to Close the File-mneu on the ribbon per code?

  • 23930
    Verified Answer
    Offline posted

    Hi,

    Thank you for posting in our forums.

    The Ribbon application menus have a CloseUp method, which will close the application menu if it is open. Depending on what style of the application menu you use, you should use either:

                ultraToolbarsManager1.Ribbon.ApplicationMenu.CloseUp();

    or

                ultraToolbarsManager1.Ribbon.ApplicationMenu2010.CloseUp();

    Please let me know if you have any additional questions.