# Tab Spacing

Learn how to manipulate the spacing between tabs in Docking control.

## Content



Users can set the distance between tabs on the DockingTab control. This can be done using the [TabSpacing](/componentone/docs/win/online-command5/) 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](https://cdn.mescius.io/document-site-files/images/1086a5ae-7197-4f26-942b-edb381682c69/images/zero-tabspacing.png) |
| Positive value (here, +5) | ![Application UI with tab spacing as positive](https://cdn.mescius.io/document-site-files/images/1086a5ae-7197-4f26-942b-edb381682c69/images/positive-tabspacing.png) |
| Negative value (here, -5) | ![Application UI with tab spacing as negative](https://cdn.mescius.io/document-site-files/images/1086a5ae-7197-4f26-942b-edb381682c69/images/negative-tabspacing.png) |

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

```csharp
// Set tab spacing
dockingTab.TabsSpacing = 5;
```