Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options to hide the row containing RibbonTabItems #516

Closed
RandomEngy opened this issue Feb 5, 2018 · 4 comments
Closed

Add options to hide the row containing RibbonTabItems #516

RandomEngy opened this issue Feb 5, 2018 · 4 comments
Assignees
Milestone

Comments

@RandomEngy
Copy link

If you don't have enough buttons to warrant having two tabs, can you remove the tab bar entirely? Both the "minimal window" example and the basic setup have the tab bar in there, so it seems like you can't. I also tried putting the RibbonGroupBox directly inside the Ribbon element but that didn't work. I also poked around on the Ribbon control and didn't see any obvious properties to hide it. If it's not possible, could this scenario be supported?


Environment

  • Fluent.Ribbon 6.0.0.208
  • Windows 10 Fall Creator's Update
  • .NET Framework 4.6.2
@batzen
Copy link
Member

batzen commented Feb 5, 2018

There is currently no built in way to achieve what you describe.
What would you suggest should happen to the menu (backstage)? The button to open it is in the same visual row as the tabs are.

@RandomEngy
Copy link
Author

I wouldn't need the backstage either...

@batzen
Copy link
Member

batzen commented Feb 5, 2018

Ok. Will have a look during the next few days.

@batzen batzen self-assigned this Feb 22, 2018
@batzen batzen added this to the 7.0.0 milestone Feb 22, 2018
@batzen
Copy link
Member

batzen commented Apr 2, 2018

You will, as soon as i push my changes (most likely tomorrow), be able to hide the complete row showing the tab headers by:

  • Setting Ribbon.Menu to null (or never assigning anything)
  • Setting Ribbon.CanMinimize to false
  • Setting Ribbon.AreTabHeadersVisible to false
  • Setting Ribbon.IsToolBarVisible to false

@batzen batzen changed the title Remove tab bar? Add options to hide the row containing RibbonTabItems Apr 4, 2018
@batzen batzen closed this as completed in 782147c Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants