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
310
Keep PopupMenuTool open on click
posted

Hello,

Is there currently a way to keep a PopupMenuTool in the dropdown state when the user has selected a menu item?

I am currently working on an application which gives the user lots of choices, each is represented by a StateButtonTool in a PopupMenuTool and currently the user has to reopen the popup to select another item.

Thanks,

Sean

Parents
No Data
Reply
  • 53790
    posted

    Hello Sean,

    One possible solution could be :

    private void ultraToolbarsManager1_ToolClick(object sender, ToolClickEventArgs e)

    {

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

         {

                ((PopupMenuTool)ultraToolbarsManager1.Ribbon.Tabs[0].Groups[0].Tools["PopupMenuTool1"]).DropDown();

            }

    }

    Let me know if you have any questions.

    Regards

Children