VerticalAlignment Enumeration

Specifies a child element's vertical alignment within its parent element's layout space.

Namespace: Microsoft.SPOT.Presentation
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public enum VerticalAlignment

Members

  Member name Description
Bottom A value specifying that the child element is aligned with the bottom of the parent element's layout space.
Center A value specifying that the child element is aligned with the vertical center of the parent element's layout space.
Stretch A value specifying that the child element is vertically stretched to the top and bottom of the parent element's layout space. Note that explicitly set values of the UIElement.Height and UIElement.Width properties of an element take precedence over the Stretch value of the UIElement.VerticalAlignment property.
Top A value specifying that the child element is aligned with the top of the parent element's layout space.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

Microsoft.SPOT.Presentation Namespace