Share via


HorizontalAlignment 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 horizontal 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 HorizontalAlignment
public enum HorizontalAlignment
public enum class HorizontalAlignment
type HorizontalAlignment
public enum HorizontalAlignment

Members

Member name Description
Left A value specifying that the child element is aligned with the left margin of the parent element's layout space.
Center A value specifying that the child element is aligned with the horizontal center of the parent element's layout space.
Right A value specifying that the child element is aligned with the right margin of the parent element's layout space.
Stretch A value specifying that the child element is horizontally stretched to the left and right margins of the parent element's layout space. Note that explicitly set values of the Height and Width properties of an element take precedence over the Stretch value of the UIElement..::..HorizontalAlignment property.

See Also

Reference

Microsoft.SPOT.Presentation Namespace