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
1770
Grouping of TabGroupPanes
posted

Hello. Not sure if this is correct but I have organized my content this way:

I have one dock manager which contains 4 split panes. Each split pane has two content panes. 

I want to group the content panes together so that they cannot be separated from one another and dragged off somewhere else. When I do want to dock them somewhere else it would have to be together.

Thanks

Parents
  • 17475
    Offline posted

    Hello Kris and thank you for posting!

    By default the SplitPanes cannot be moved with all the panes that are defined in them. A possible solution for moving both content panes together would be to remove the panes from the previous SplitPane when a pane is moved and add them both to the new parent.
    I have created a sample project for you handling the PaneDragStarting and PaneDragEnded events to achieve this. Please do not hesitate to let me know if you have any questions or concerns.

    XamDockManagerSplitPane.zip
Reply Children