Hide tab bar if only one tab is visible

Docking/MDI for WPF Forum

Posted 9 years ago by Stefan Koell
Version: 16.1.0633
Avatar

Hi,

when using a DockSite with tabbed documents, is it possible to completely hide the tab bar if only tab is showing and make the tab bar visible when more than one tab is showing?

Regards,
Stefan

Comments (7)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Stefan,

Sorry but we don't have that functionality in there at this time.  While docked tool windows will hide the tab strip if there is only one tab (since there is still contextual information in the tool window container title bar), tabbed MDI will not hide the tab strip if there is only one tab.  In that case, no UI would be showing for the documents.


Actipro Software Support

Posted 9 years ago by Stefan Koell
Avatar

Hi,

is it possible to implement a visible property for the document tab bar? Right now, my users can hide the tab bar in the options and for the nested tabs it woulb be awesome to have the ability to hide the root tab bar if only one tab is visible. It's not super important and there's no rush but if this can be implemented in one of the future builds, that would be great!

thx

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Stefan,

I'll add the suggestion to our list.


Actipro Software Support

Posted 9 years ago by Stefan Koell
Avatar

Thanks, much appreciated!

Posted 3 months ago by mrbenson
Avatar

Any improvement 8 years after ?

[Modified 3 months ago]

Posted 3 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

I'm sorry but this wasn't prioritized for implementation.  Can you describe your use case in detail so we can add it to our notes on the related TODO item and review it again?  Thanks!

On a side note, if you use Standard (windowed) MDI instead of Tabbed MDI and maximize the document window, it will fill the workspace.  That may be an alternative for you if you like that style of MDI.


Actipro Software Support

The latest build of this product (v24.1.5) was released 1 month ago, which was before the next post in this thread.
Answer - Posted 24 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

We're happy to report that v25.1 will have built-in support to hide the tab strip of the MDI area if there is only one tab present. This will be enabled by setting TabbedMdiHost.SingleTabLayoutBehavior to Hide.


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.