Describes how a child element is vertically positioned or stretched within a parent's layout slot.
(in System.Windows.dll)XMLNS for XAML:
Not mapped to an xmlns.
Public Enumeration VerticalAlignment
|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.|
Height and Width properties that are explicitly set on an element take precedence over the Stretch property value.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0