SizeToContent Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

'Declaration
Public Enumeration SizeToContent
public enum SizeToContent
public enum class SizeToContent
type SizeToContent
public enum SizeToContent

Members

Member name Description
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 Height and Width properties.
Width A value specifying that the window automatically sizes itself to the width of its contents, but not the height.
Height A value specifying that the window automatically sizes itself to the height of its contents, but not the width.
WidthAndHeight A value specifying that the window automatically sizes itself to both the height and width of its contents.

See Also

Reference

Microsoft.SPOT.Presentation Namespace