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
400
Toolbar popup context menu
posted

When you right click the mouse on any Toolbar item a context menu displays. We have a requirement to disable this context menu on some items but to allow limited functionality on others.  Is there a way to disable this menu and a way to disable or remove options for this context menu?

Thanks in advance

  • 53790
    posted

    Hi,
    Maybe one possible approach is to handle the BeforeToolbarListDropdown event of the ultraToolbarsManager. There you could cancel the default context menu for the desired tool item and include your custom context menu. In my sample this is ButtonTool3. Could you please take a look at the attached sample and if you have any questions, do not hesitate to ask me
    Regards

    ToolItemCustomsMenu.zip