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
315
Add tabs afterwards
posted

Hi, can you please outline how to achieve the following behaviour:

we want only the application tab in the ribbon visible at start, and no other ribbon tab should be selectable until the user selects something in the application tab.

I could hide the other tabs using visibility = hidden or collapsed, however, the other tabs would still be there and if I clicked on "Start" twice, the application would auto-jump to the first tab, even if it were set to hidden or collapsed. That is not what I would expect if the tab is set to collapsed.

I guess the solution would be to add the tabs afterwards, after the event (user has seleted something) has occured. How could I do so or is there a better way?

Parents
  • 34510
    Offline posted

    Hi Kurt,

    I'm not sure what clicking on "Start" twice means but when I run a sample app with the XamRibbon in it and hide the tabs, I can still see the first tab content even though the tab header is not there.  You can resolve this by adding an empty tab in front of all the other tabs in the list.  Then based on the selection the user makes in the application menu you can enable the other tabs.

    Take a look at my attached sample.

    RibbonTabs.zip
Reply Children