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
Hide tools from the ribbon
posted

Hi

i've tried to hide some tools on the ribbon using the

uToolBar.Ribbon.Tabs[1].Groups[0].Tools[1].SharedProps.Visible = false;

but it's just Disbale it as i use .SharedProps.Enable= false;

is this a bug ?,if not how i can do it ?

Thanks Alot

Parents
No Data
Reply
  • 44743
    posted

    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