SizeToContent Enum
Definition
Determines how a Avalonia.Controls.Window will size itself to fit its content.
public enum SizeToContent
Fields
| Name | Description |
|---|---|
| Height | The window will size itself vertically to fit its content. |
| Manual | The window will not automatically size itself to fit its content. |
| Width | The window will size itself horizontally to fit its content. |
| WidthAndHeight | The window will size itself horizontally and vertically to fit its content. |
Height Field
The window will size itself vertically to fit its content.
public Avalonia.Controls.SizeToContent Height
Manual Field
The window will not automatically size itself to fit its content.
public Avalonia.Controls.SizeToContent Manual
Width Field
The window will size itself horizontally to fit its content.
public Avalonia.Controls.SizeToContent Width
WidthAndHeight Field
The window will size itself horizontally and vertically to fit its content.
public Avalonia.Controls.SizeToContent WidthAndHeight