Indicates where an element should be displayed on the horizontal axis relative to the allocated layout slot of the parent element.
Syntax
<object property="enumMemberName"/>
Attributes
- VersionAttribute(NTDDI_WIN8)
- WebHostHiddenAttribute()
Members
The HorizontalAlignment enumeration has these members.
| Member | Value | Description |
|---|---|---|
| Left | 0 |
An element aligned to the left of the layout slot for the parent element. |
| Center | 1 |
An element aligned to the center of the layout slot for the parent element. |
| Right | 2 |
An element aligned to the right of the layout slot for the parent element. |
| Stretch | 3 |
An element stretched to fill the entire layout slot of the parent element. |
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
Build date: 1/31/2013