HorizontalAlignment Enumeration
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
public enum HorizontalAlignment
Members
Member name | Description | |
---|---|---|
Center | A value specifying that the child element is aligned with the horizontal center of the parent element's layout space. | |
Left | A value specifying that the child element is aligned with the left margin 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 UIElement.Height and UIElement.Width properties of an element take precedence over the Stretch value of the UIElement.HorizontalAlignment property. |
Version Information
Available in .NET Micro Framework version 2.0, 2.5