SizeToContent Enumeration
Determines how a
Window will size itself to fit its content.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
[FlagsAttribute]
public enum SizeToContent
<FlagsAttribute>
Public Enumeration SizeToContent
[<FlagsAttribute>]
type SizeToContent
| Manual | 0 |
The window will not automatically size itself to fit its content.
|
| Width | 1 |
The window will size itself horizontally to fit its content.
|
| Height | 2 |
The window will size itself vertically to fit its content.
|
| WidthAndHeight | 3 |
The window will size itself horizontally and vertically to fit its content.
|