The DockingTab control allows users to auto-hide tab pages. For this purpose, the CanAutoHide property can be set to true. DockingTab also displays a pin icon in the caption area, if both the CanAutoHide and ShowCaption properties are set to true at the same time.
The auto-hiding and pin icon functionality can be set either using the Properties window in the designer or, via the code in the code editor.
C# |
Copy Code
|
---|---|
dockingTab.CanAutoHide = true; dockingTab.ShowCaption = true; |
Visual Basic |
Copy Code
|
---|---|
Me.C1DockingTab1.AutoHiding = False |