VerticalAlignment Enumeration

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

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

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

Members

Member name Description
Top A value specifying that the child element is aligned with the top 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.
Bottom A value specifying that the child element is aligned with the bottom 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.

See Also

Reference

Microsoft.SPOT.Presentation Namespace