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
45
Trying to Show Tab Header in DockAreaPane When Only One Child Pane
posted

I have created a DockAreaPane and set its ChildPaneStyle = ChildPaneStyle.TabGroup. When I populate this pane with multiple child panes the tab headers display just fine. However, when I have only added one child pane into the DockAreaPane the pane caption is displayed but there is no tab header displayed. Then, if I add another DockableControlPane, tab headers appear for both panes.

How can I make a tab header display in the DockAreaPane regardless of the number of child panes it has?

(I know that what I am asking for is not exactly how Visual Studio works, but it is what I need for my application).

Thank you.