VerticalAlignment VerticalAlignment VerticalAlignment VerticalAlignment Enum

Definition

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

public : enum class VerticalAlignment
public enum VerticalAlignment
Public Enum VerticalAlignment
var value = Windows.UI.Xaml.VerticalAlignment.bottom;
<object property="enumerationvalue"/>
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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.