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