DockingTab provides the choice to either show or hide tabs in the control. For this purpose, DockingTab provides the ShowTabs property, which when set to true displays the tab. And, when set to false, hides the tabs and only shows the docking tab page. By default, the ShowTabs property is always set to true.
Tab Visibility |
Snapshots |
Show tabs | |
Hide tabs |
The following code snippet shows how to hide tabs in the DockingTab control:
C# |
Copy Code
|
---|---|
dockingTab.ShowTabs = false;
|