CanMaximize Property
Enables or disables maximizing the window.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public bool CanMaximize { get; set; }
Public Property CanMaximize As Boolean
Get
Set
member CanMaximize : bool with get, set
Property Value
BooleanRemarks
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.