Enum WindowSizeToContentMode
Specifies how a window will size itself to fit the size of its content.
public enum WindowSizeToContentMode
Fields
Height = 2
Specifies that a window will set its height to fit the height of its content, but not the width.
None = 0
No size to content behavior is performed.
Width = 1
Specifies that a window will set its width to fit the width of its content, but not the height.
WidthAndHeight = 3
Specifies that a window will set both its width and height to fit the width and height of its content.