Enum WindowSizeToContentMode
Specifies how a window will size itself to fit the size of its content.
public enum WindowSizeToContentMode
Fields
GrowHeight = 5
Specifies that a window will GROW its height to fit the height of its content, but not the width.
GrowWidth = 4
Specifies that a window will GROW its width to fit the width of its content, but not the height.
GrowWidthAndHeight = 6
Specifies that a window will GROW both its width and height to fit the width and height of its content.
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.