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
2170
Can I open a menu tab from code behind
posted

Hi,

I'm using XamRibbonApplicationMenu2010 and want to open a specific Office2010ApplicationMenuTabTool from code behind. Is it possible to achieve? Thanks.

Parents
No Data
Reply
  • 6475
    Verified Answer
    posted

    Hi Daniel,

    Something like this should do the trick (assuming you have set an Id on the MenuTabTool):

    ((Office2010ApplicationMenuTabTool)igRibbon.FindToolById("tab1")).IsSelected = true;
    igRibbon.ApplicationMenu2010.IsOpen = true;

     

     Hope this helps,

Children
No Data