Skip to main content

IGridColumn.TextAlignment Property

Specifies the alignment of text in column cells.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.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 based on cell content and column data type.

Left

Aligns cell text to the left.

Center

Centers cell text.

Right

Aligns cell text to the right.

Remarks

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

See Also