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
3455
Can we remove the button tool from ribbon tab and add another button tool with same key
posted

Hi,

Can we remove a ButtonTool from RibbonTab and add another ButtonTool with same key?

Regards,

Ceaser

Parents
No Data
Reply
  • 5389
    Suggested Answer
    posted

    Ceaser,

    In order to add another ButtonTool with the same key, you would need to not only remove the first tool from the RibbonTab but also from the UltraToolbarsManager's root Tools collection.  For example:

    this.ultraToolbarsManager1.Ribbon.Tabs[0].Groups[0].Tools.Remove(button1);

    this.ultraToolbarsManager1.Tools.Remove(button1);

     

    ~Kim~

Children