Users can set the distance between tabs on the DockingTab control. This can be done using the TabSpacing property in the Properties window or programmatically. The tabs can also be made to overlap on the DockingTab by setting the TabSpacing to a negative value.
The following table lists the different types of tab spacing on DockingTab:
Tab Spacing | Snapshot |
Zero | |
Positive value (here, +5) | |
Negative value (here, -5) |
The following code snippet shows how to set the TabSpacing property:
C# |
Copy Code
|
---|---|
// Set tab spacing
dockingTab.TabsSpacing = 5;
|