Can I hide the MDI tab bar when only one Document?

Docking/MDI for WPF Forum

Posted 10 years ago by David Sherwood
Version: 4.5.0487
Avatar
My App has one and only one “Document” defined as a Frame. I wanted to use TabbedMdi so that tool windows could optionally be tabbed with my Frame but when there aren’t any tabbed tool windows, I didn’t what to show the tab bar. Is this possible?
I thought of initially adding my Frame directly to the Workspace. Then when the first tool window ask to be tabbed, I would replace my Frame with the TabbedMDI structure, add my Frame to it, and then add the tool window? Is this possible? I’m not sure about the timing of events or whether a tool window can even asked to be tabbed when their currently is no TabbedMdi.

Comments (1)

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

Sorry we don't have anything built in right now that would hide the tabs when there's only one window. And as you surmised, if the there is no MDI host in the Workspace then tool windows will have the Document option disabled or missing.


Actipro Software Support

The latest build of this product (v2018.1 build 0675) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.