VerticalAlignment Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Describes how a child element is vertically positioned or stretched within a parent's layout slot.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
| Member name | Description | |
|---|---|---|
| Top | The element is aligned to the top of the parent's layout slot. | |
| Center | The element is aligned to the center of the parent's layout slot. | |
| Bottom | The element is aligned to the bottom of the parent's layout slot. | |
| Stretch | The element is stretched to fill the entire layout slot of the parent element. |
Show: