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
140
dragging by code
posted

Hi, have a dockareapane on the right, which contains a tab-grouppane with several controlpanes.

Now i want to move one controlpane from the group out of the group and dock it above the tab-grouppane.

The result should be a right dock-areapane, seperated horizontaly, on top is controlpane, under it the tabgroup. With mouse-dragging its no problem, but how can i managed it by code?

Regards

 

  • 44743
    posted

    You would have to first remove the DockableControlPane from the DockableGroupPane's Panes collection. Then you can add the removed pane to the DockAreaPane's Panes collection and set the ChildPaneStyle of the DockAreaPane to HorizontalSplit.