DataGridTextAlign Enum

Lists values that specify how text is aligned.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.dll

Declaration

public enum DataGridTextAlign

Members

Name Description
Auto

Automatically aligns the text in the column.

Center

Displays the text in the center of the column.

Justify

The text is justified.

Left

Displays the text at the left side of the column.

Right

Displays the text at the right side of the column.

Remarks

Use the TextAlignment to specify the text alignment in the column.

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