Back to Devexpress

IGridColumn.TextAlignment Property

blazor-devexpress-dot-blazor-dot-igridcolumn-13e54f8e.md

latest1.2 KB
Original Source

IGridColumn.TextAlignment Property

Specifies the alignment of text in column cells.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDefaultDescription
GridTextAlignmentAuto

A GridTextAlignment enumeration value.

|

Available values:

NameDescription
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 additional information and an example.

See Also

IGridColumn Interface

IGridColumn Members

DevExpress.Blazor Namespace