DataGridTextAlign Enum

Lists values that specify how text is aligned.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

Declaration

public enum DataGridTextAlign

Members

Name Description
Auto

Automatically aligns the text in the column.

Left

Displays the text at the left side of the column.

Center

Displays the text in the center of the column.

Right

Displays the text at the right side of the column.

Justify

The text is justified.

Related API Members

The following properties accept/return DataGridTextAlign values:

Remarks

<DxDataGrid Data="@DataSource" >
    ...
    <DxDataGridColumn Field="@nameof(Product.ProductName)" 
        Caption="Product Name" 
        TextAlignment="DataGridTextAlign.Justify" >
    </DxDataGridColumn>
</DxDataGrid>
See Also