HorizontalAlignment Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Indicates where an element should be displayed on the horizontal axis relative to the allocated layout slot of the parent element.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
| Member name | Description | |
|---|---|---|
| Left | An element aligned to the left of the layout slot for the parent element. | |
| Center | An element aligned to the center of the layout slot for the parent element. | |
| Right | An element aligned to the right of the layout slot for the parent element. | |
| Stretch | An element stretched to fill the entire layout slot of the parent element. |
Show: