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
575
Hidden tool not hiding from Ribbon
posted

I have a button tool on a ribbon.  I hide that button tool via rootTool.SharedProps.Visible = false.  That causes it to correctly disappear from the application menu and from the quick access toolbar, but it only gets diabled on the ribbon, not hidden/removed.  Is this by design or a bug?  Do I have to physically remove the tool from the ribbon group?

Parents
No Data
Reply
  • 575
    Verified Answer
    posted

     Nevermind I eventually found another post that answered the question:

     

    Tools in the ribbon cannot be hidden by default because the Office 2007 UI Guidelines state that the contents of each ribbon tab should remain unchanged, so when you set the Visible property to False, the tool is disabled instead. However, you can work around this by setting Office2007UICompatibility to False.

Children
No Data