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

Gets or sets the vertical alignment characteristics that are applied to an object when it is composed within a layout parent, such as within a panel.

<object VerticalAlignment="VerticalAlignment" .../>
value = object.VerticalAlignment
object.VerticalAlignment = value

Property Value

Type: VerticalAlignment

A value of the enumeration.

This property is read/write. The default is Left.

Managed Equivalent


Version Information

Silverlight 2