Skip to main content
All docs
V24.2

DXStringFormat.Alignment Property

Gets or sets the horizontal string alignment.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.2.dll

Declaration

public DXStringAlignment Alignment { get; set; }

Property Value

Type Description
DXStringAlignment

An enumeration value that specifies the horizontal alignment of the string.

Available values:

Name Description
Near

The text is aligned near the layout.

Center

Text is aligned in the center of the layout rectangle.

Far

The text is aligned far from the original position of the layout rectangle.

See Also