Skip to main content
A newer version of this page is available. .

IGridColumn.TextAlignment Property

Specifies the alignment of text in column cells.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(GridTextAlignment.Auto)]
GridTextAlignment TextAlignment { get; set; }

Property Value

Type Default Description
GridTextAlignment Auto

A GridTextAlignment enumeration value.

Available values:

Name Description
Auto

Aligns the text in the column based on cell content and column data type.

Left

Aligns cell text to the left.

Center

Centers the text.

Right

Aligns cell text to the right.

Remarks

Refer to the TextAlignment property description for more information and an example.

See Also