VerticalAlignment VerticalAlignment VerticalAlignment Enum

Describes how a child element is vertically positioned or stretched within a parent's layout slot.

Syntax

Declaration

public enum VerticalAlignmentpublic enum VerticalAlignmentPublic Enum VerticalAlignment
<object property="enumerationvalue"/>

Fields

Bottom
Bottom
Bottom
Bottom

The element is aligned to the bottom of the parent's layout slot.

Center
Center
Center
Center

The element is aligned to the center of the parent's layout slot.

Stretch
Stretch
Stretch
Stretch

The element is stretched to fill the entire layout slot of the parent element.

Top
Top
Top
Top

The element is aligned to the top of the parent's layout slot.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.dll