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?
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.