DataGridTextAlign Enum

Lists values that specify how text is aligned.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.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

Important

The Data Grid was moved to maintenance support mode. No new features/capabilities will be added to this component. We recommend that you migrate to the Grid component.

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