HorizontalAlignment

Ecng.Drawing

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

Поля

Center
public const HorizontalAlignment Center
value = HorizontalAlignment.Center

An element aligned to the center of the layout slot for the parent element.

Left
public const HorizontalAlignment Left
value = HorizontalAlignment.Left

An element aligned to the left of the layout slot for the parent element.

Right
public const HorizontalAlignment Right
value = HorizontalAlignment.Right

An element aligned to the right of the layout slot for the parent element.

Stretch
public const HorizontalAlignment Stretch
value = HorizontalAlignment.Stretch

An element stretched to fill the entire layout slot of the parent element.