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
865
How to programmatically remove tool in the ToolAreaLeft?
posted

Hi,

      I am using Ribbon Menu in my application. For each user who are logged into the application, i will add different tools in the ToolAreaLeft. By default i will be showing 2 tools which is common to all the users. How do i remove the tool from the ToolAreaLeft. I donot want to remove the Default 2 tools.  Can someone tell me how to do it?

Thanks

Raja

  • 290
    Verified Answer
    posted

    Hi Raja,

    You can remove the tools from ToolAreaLeft by going into its Tools collection.

     

     

    ultraToolbarsManager1.Ribbon.ApplicationMenu.ToolAreaLeft.Tools.Remove(ToolBase tool)ultraToolbarsManager1.Ribbon.ApplicationMenu.ToolAreaLeft.Tools.RemoveAt(toolindex)

    Please try and let me know if this was helpful.

    Thanks
    Purnima