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.
- Place a CommandDock control on the form, and then set its Dock property to Fill.
- Add a DockingTab inside the CommandDock.
- Add a Panel control inside the DockingTabPage, and then set the Panel's Dock property to Fill.
- Place a Windows Form control inside Panel1 of the DockingTabPage.
- Set Panel1's AutoScroll property to True.
- Run the code and observe the output.
The scrollbars appear for the DockingTab as given in the image below.