Partilhar via


VerticalAlignment Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Indicates where an element should be displayed on the vertical axis relative to the allocated layout slot of the parent element.

<object property="EnumerationValue"  .../>
value = "EnumerationValue"

Enumeration Values

Value

Description

Top

Aligned to the top of the layout slot.

Center

Aligned to the center of the layout slot.

Bottom

Aligned to the bottom of the layout slot.

Stretch

Stretched to fill the entire layout slot.

Managed Equivalent

VerticalAlignment

Applies To

VerticalAlignment

Version Information

Silverlight 2