SizeToContent Enumeration
Determines how a Window will size itself to fit its content.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
[FlagsAttribute]
public enum SizeToContent
<FlagsAttribute>
Public Enumeration SizeToContent
[<FlagsAttribute>]
type SizeToContent
Members
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. |