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
225
Tab Control Drag and Drop like Visual studio 2010
posted

How do i convert tab control into form while drag and drop like in Visual Studio 2010.

  • 44743
    posted

    I don't believe dragging is supported, but something like this can be done by first making the main Form an MDI container. Then use an UltraTabbedMdiManager on the main Form so that all MDI children are shown as tabs. You will also need an UltraDockManager on the main Form. If you would like to have MDI child tabs that can be detached, you will first have to define their contents on a Panel or UserControl. Then make that container a pane in the UltraDockManager. Then, on the DockableControlPane that hosts the container, set IsMdiChild to True. At run-time, the dock pane will appear as an MDI child with its own tab. You can right-click the tab and select Floating to turn the child form into a floating pane, which can then also be docked to any side of the main form.