# MxWindow class

Represents a window that draws its own decorations: a caption with caption buttons, resize borders, and a shadow.

**Namespace:** [`Eremex.AvaloniaUI.Controls.Common`](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/index.md)  
**Assembly:** `Eremex.Avalonia.Controls.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public class MxWindow : Window
```

## Public Members

| name | description |
| --- | --- |
| [MxWindow](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/MxWindow/index.md)() | Initializes a new instance of the MxWindow class. |
| [ActualDragAreaMargin](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/ActualDragAreaMargin/index.md) { get; } | Gets the margin of the area used to resize the window by dragging. |
| [ActualDragBorderSize](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/ActualDragBorderSize/index.md) { get; } | Gets the actual width of the invisible border used to resize the window by dragging. |
| [ActualHeader](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/ActualHeader/index.md) { get; } | Gets the content displayed in the window caption: the Header value if it is set, or the window Title otherwise. |
| [CloseButtonGlyph](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/CloseButtonGlyph/index.md) { get; set; } | Gets or sets the image displayed in the close button. |
| [DragBorderSize](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/DragBorderSize/index.md) { get; set; } | Gets or sets the width of the invisible border used to resize the window by dragging. |
| [ExtendDragAreaInClientSize](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/ExtendDragAreaInClientSize/index.md) { get; set; } | Gets or sets the amount by which the resize area extends into the window client area. |
| [Header](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/Header/index.md) { get; set; } | Gets or sets the content displayed in the window caption. |
| [HeaderTemplate](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/HeaderTemplate/index.md) { get; set; } | Gets or sets the template used to display the window caption content. |
| [IsRestoreButtonVisible](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/IsRestoreButtonVisible/index.md) { get; } | Gets whether the restore button is displayed in place of the maximize button. |
| [MaximizeButtonGlyph](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/MaximizeButtonGlyph/index.md) { get; set; } | Gets or sets the image displayed in the maximize button. |
| [MinimizeButtonGlyph](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/MinimizeButtonGlyph/index.md) { get; set; } | Gets or sets the image displayed in the minimize button. |
| [RestoreButtonGlyph](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/RestoreButtonGlyph/index.md) { get; set; } | Gets or sets the image displayed in the restore button. |
| [ShowCaptionSeparator](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/ShowCaptionSeparator/index.md) { get; set; } | Gets or sets whether the separator between the caption and the window content is displayed. |
| [ShowCloseButton](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/ShowCloseButton/index.md) { get; set; } | Gets or sets whether the close button is displayed in the caption. |
| [ShowMaximizeButton](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/ShowMaximizeButton/index.md) { get; set; } | Gets or sets whether the maximize button is displayed in the caption. |
| [ShowMinimizeButton](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/MxWindow/ShowMinimizeButton/index.md) { get; set; } | Gets or sets whether the minimize button is displayed in the caption. |

## See Also

* namespace [Eremex.AvaloniaUI.Controls.Common](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.Common/index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
