Compartir a través de


HorizontalAlignment

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

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

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

Property Value

Type: HorizontalAlignment

A value of the enumeration.

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

Managed Equivalent

HorizontalAlignment

Version Information

Silverlight 2