When the dockmanager is first loaded, all the tabs are at the top, and they all look the same. When a tab is floated it creates a new window. When another tab is docked in the center of that same new window, the tabs are at the bottom.
How do we make it consistent, such that the tabs are always at the top?
I would also like them to look the same when they are at the top. I explicitly set the TabGroupPane.TabStripPlacementy to Top on a TabGroupPane of a PaneToolWindow, and it put the tabs at the top. But the tabs looked different than they do in the layout within the main window that contains the dockmanager.
I've attached a screenshot.
Thanks for your help.
Hello,
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I copied the default styles for the TabGroupPane and PaneTabItem and modify them, so they look the same in DocumentHost and in PaneToolWindow. I also handled the PaneToolWindow’s Loaded event, so I can make it minimizable and maximizable. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Thank you! That's exactly what I want.
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.