# MxTabItem class

Represents a tab in an [`MxTabControl`](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls/MxTabControl/index.md).

**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 class MxTabItem : TabItem
```

## Constructors

| name | description |
| --- | --- |
| [MxTabItem](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls/MxTabItem/MxTabItem/index.md)() | Initializes a new instance of the MxTabItem class. |

## Properties

| name | description |
| --- | --- |
| [CloseCommand](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls/MxTabItem/CloseCommand/index.md) { get; set; } | Gets or sets the command executed when the close button for this tab is clicked. |
| [CloseCommandParameter](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls/MxTabItem/CloseCommandParameter/index.md) { get; set; } | Gets or sets the parameter passed to [`CloseCommand`](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls/MxTabItem/CloseCommand/index.md). |
| [Glyph](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls/MxTabItem/Glyph/index.md) { get; set; } | Gets or sets the image displayed in the tab header. |
| [GlyphSize](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls/MxTabItem/GlyphSize/index.md) { get; set; } | Gets or sets the size of the tab header image. A NaN dimension uses the image's natural size. |
| [TabStripLayoutType](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls/MxTabItem/TabStripLayoutType/index.md) { get; } | Gets the tab header layout supplied by the owning [`MxTabControl`](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls/MxTabControl/index.md). |

## 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 -->
