HorizontalAlignment Enumeration
.NET Framework (current version)
Indicates where an element should be displayed on the horizontal axis relative to the allocated layout slot of the parent element.
Assembly: PresentationFramework (in PresentationFramework.dll)
| Member name | Description | |
|---|---|---|
| Center | An element aligned to the center of the layout slot for the parent element. | |
| Left | An element aligned to the left 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. |
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: