Skip to content

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
Assembly: Eremex.Avalonia.Controls.dll
NuGet Package: Eremex.Avalonia.Controls

Declaration

public class MxWindow : Window

Public Members

name description
MxWindow() Initializes a new instance of the MxWindow class.
ActualDragAreaMargin { get; } Gets the margin of the area used to resize the window by dragging.
ActualDragBorderSize { get; } Gets the actual width of the invisible border used to resize the window by dragging.
ActualHeader { get; } Gets the content displayed in the window caption: the Header value if it is set, or the window Title otherwise.
CloseButtonGlyph { get; set; } Gets or sets the image displayed in the close button.
DragBorderSize { get; set; } Gets or sets the width of the invisible border used to resize the window by dragging.
ExtendDragAreaInClientSize { get; set; } Gets or sets the amount by which the resize area extends into the window client area.
Header { get; set; } Gets or sets the content displayed in the window caption.
HeaderTemplate { get; set; } Gets or sets the template used to display the window caption content.
IsRestoreButtonVisible { get; } Gets whether the restore button is displayed in place of the maximize button.
MaximizeButtonGlyph { get; set; } Gets or sets the image displayed in the maximize button.
MinimizeButtonGlyph { get; set; } Gets or sets the image displayed in the minimize button.
RestoreButtonGlyph { get; set; } Gets or sets the image displayed in the restore button.
ShowCaptionSeparator { get; set; } Gets or sets whether the separator between the caption and the window content is displayed.
ShowCloseButton { get; set; } Gets or sets whether the close button is displayed in the caption.
ShowMaximizeButton { get; set; } Gets or sets whether the maximize button is displayed in the caption.
ShowMinimizeButton { get; set; } Gets or sets whether the minimize button is displayed in the caption.

See Also

Used in articles