[]
        
(Showing Draft Content)

Tab Spacing

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 Application UI with tab spacing as zero
Positive value (here, +5) Application UI with tab spacing as positive
Negative value (here, -5) Application UI with tab spacing as negative

The following code snippet shows how to set the TabSpacing property:

// Set tab spacing
dockingTab.TabsSpacing = 5;