Enum SizeToContent
Determines how a Window will size itself to fit its content.
[Flags]
public enum SizeToContent
Fields
Height = 2
The window will size itself vertically to fit its content.
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.
WidthAndHeight = Width | Height
The window will size itself horizontally and vertically to fit its content.