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
470
Consistent tab positions.
posted

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.

Parents
  • 138253
    Verified Answer
    Offline posted

    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.

    XamDockManagerConsistent.zip
Reply Children