Skip to main content

CanMaximize Property

Enables or disables maximizing the window.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public bool CanMaximize { get; set; }

Property Value

Boolean

Remarks

When CanResize is false, this property is always false.

On macOS, setting this property to false also disables the full screen mode.

This property might be ignored by some window managers on Linux.

See Also

Reference

Window Class
Avalonia.Controls Namespace