SizeToContent Enumeration
Specifies how a window should be sized, relative to its contents.
Namespace: Microsoft.SPOT.Presentation
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)
Syntax
public enum SizeToContent
Members
Member name | Description | |
---|---|---|
Height | A value specifying that the window automatically sizes itself to the height of its contents, but not the width. | |
Manual | A value specifying that the window does not automatically size itself to fit its contents. Instead, the size of the window is determined by other properties, including the UIElement.Height and UIElement.Width properties. | |
Width | A value specifying that the window automatically sizes itself to the width of its contents, but not the height. | |
WidthAndHeight | A value specifying that the window automatically sizes itself to both the height and width of its contents. |
Version Information
Available in .NET Micro Framework version 2.0, 2.5