# TabSizeMode enumeration

Specifies how the preferred tab header size is determined.

**Namespace:** [`Eremex.AvaloniaUI.Controls`](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls/index.md)  
**Assembly:** `Eremex.Avalonia.Controls.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public enum TabSizeMode
```

## Values

| name | value | description |
| --- | --- | --- |
| Default | `0` | Uses [`TabSize`](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls/MxTabControl/TabSize/index.md) in the Stretch layout and header content size in other layouts. |
| Explicit | `1` | Uses [`TabSize`](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls/MxTabControl/TabSize/index.md) in every layout, subject to item size constraints. |
| Content | `2` | Uses the natural size of each complete tab header. |
| LargestContent | `3` | Uses the largest natural header size among all visible tabs in the strip. |

## See Also

* namespace [Eremex.AvaloniaUI.Controls](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls/index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
