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
2745
UltraToolbarsManager - cancel dropdown close event after tool click
posted

Hello!

I have a pop up menu tool in a ribbon menu that contains a lot of state buttons. Is there a way to stop the menu from closing when any of the state buttons are closed?

The state buttons controls the appstyling theme of the interface, and it would be nice to be able click the different options and view the interface without having to open the menu time after time...

/Henrik

Parents
  • 53790
    posted

    Hello Henrik,

    At that moment we have not such functionality, but maybe one possible approach to achieve desired behavior could be if you implement the code below:

    private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)

            {

                if (e.Tool.Owner.GetType() == typeof(PopupMenuTool))

                {

                     ((PopupMenuTool)e.Tool.Owner).DropDown();

                 }

             }

    Let me know if you have any questions.

    Regards

Reply Children