HorizontalAlignment Enumeration

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

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

Enumeration Values

Value

Description

Left

Aligned to the left of the layout slot.

Center

Aligned to the center of the layout slot.

Right

Aligned to the right of the layout slot.

Stretch

Stretched to fill the entire layout slot.

Managed Equivalent

HorizontalAlignment

Applies To

HorizontalAligment

Version Information

Silverlight 2