Skip to main content
All docs
V24.1

DXStringFormat.Alignment Property

Gets or sets the horizontal string alignment.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

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