ComponentOne Menus and Toolbars for WinForms
Menus and Toolbars for WinForms Task-Based Help / DockingTab Tasks / Adding a Scrollbar to a DockingTab
In This Topic
    Adding a Scrollbar to a DockingTab
    In This Topic

    To add a scrollbar to a C1DockingTab, complete the following steps:

    Note: The C1DockingTab does not have its own scrollbar.
    1. Place a C1CommandDock control on the form, and then set its Dock property to Fill.
    2. Add a C1DockingTab inside the C1CommandDock.
    3. Add a Panel control inside the C1DockingTabPage, and then set the Panel's Dock property to Fill.
    4. Place a few Windows Form controls inside Panel1 of the C1DockingTabPage.

      Form with Calendar
    5. Set Panel1's AutoScroll property to True.

      The scrollbars appear for the C1DockingTab.


      Form with Calendar and Property grid
    See Also