Back to Devexpress

IGridColumn.CaptionAlignment Property

blazor-devexpress-dot-blazor-dot-igridcolumn-8d33ecbb.md

latest1.3 KB
Original Source

IGridColumn.CaptionAlignment Property

Specifies the alignment of the column’s Caption.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(null)]
GridTextAlignment? CaptionAlignment { get; set; }

Property Value

TypeDefaultDescription
Nullable<GridTextAlignment>null

An 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 CaptionAlignment property description for additional information and an example.

See Also

IGridColumn Interface

IGridColumn Members

DevExpress.Blazor Namespace