Docking Tab for WinForms | ComponentOne
Behavior / Rearranging Tabs
In This Topic
    Rearranging Tabs
    In This Topic

    DockingTab provides the functionality to re-arrange tabs on the DockingTab by dragging them at runtime. For this purpose, DockingTab provides the CanMoveTabs property. Setting this property to true, allows the end-user to re-arrange the tabs at runtime.

    GIF showing rearrangement of tabs

    The code snippet shows how to set the CanMoveTabs property.

    C#
    Copy Code
    // Set property to rearrange tabs at runtime
    dockingTab.CanMoveTabs = true;