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
1500
Reusable RibbonGroup
posted

Hi,

 I need to create a reusable RibbonGroup. Something like UserControl. Is it a common practice to create a RibbonGroup that is added then to the RibbonTab? Can it be done only programmatically?

 ~Vitaly

Parents
No Data
Reply
  • 44743
    posted

    I don't believe this would work. You wouldn't be able to add tools to the ribbon group unless the ribbon group were already in a ribbon tab that was on a toolbars manager. This is because when adding tools (either with a tool instance or with a key), the root tool must be found so the SharedProps can be properly hooked up to the new instance tool. I would recommend comming up with a different approach to add a ribbon group at runtime.

Children