Docking Tab for WinForms | ComponentOne
Docking Operations / Scroll Functionality
In This Topic
    Scroll Functionality
    In This Topic

    Scrolling is required when lengthy content needs to be displayed in the DockingTabPage. To achieve this functionality, you can follow the below mentioned steps as the DockingTab does not have an in-built scrollbar.

    1. Place a CommandDock control on the form, and then set its Dock property to Fill.
    2. Add a DockingTab inside the CommandDock.
    3. Add a Panel control inside the DockingTabPage, and then set the Panel's Dock property to Fill.
    4. Place a Windows Form control inside Panel1 of the DockingTabPage.
    5. Set Panel1's AutoScroll property to True.
    6. Run the code and observe the output.
    The scrollbars appear for the DockingTab as given in the image below.

    Docking tab with scroll functionality.