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
190
How to hide the ribbon's tabs ?
posted

Hi,

I'd like to know if there's a way to hide the tabs of the ribbon but keep the tabs content visible (and change this content from another custom menu).

So i would basically have what would be the tabs in another menu as normal menu items, and manipuliting them would change the ribbon content...

I hope i'm clear enough, not sure about that  :)

The reason is that i want to keep the style/functionnalities of the ribbon, but having my main menu on another menu on the left of my page, in an accordion or something...

 

Parents
  • 9836
    Verified Answer
    posted

    For hiding the tab headers you can use the following style:

    <Style TargetType="ig:XamRibbonTabItem">

                <Setter Property="Visibility" Value="Collapsed"/>

    </Style>

    I'm not sure how are you going to use the menu in your project but for switching between the tabs you can use the Tabs collection of the ribbon and the IsSelected property on each tab.

    Let me know if this is what you are looking for.

Reply Children
No Data