DxDataGridColumn.TextAlignment Property
Specifies the text alignment in the column.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v20.2.dll
Declaration
[Parameter]
[DefaultValue(DataGridTextAlign.Auto)]
public DataGridTextAlign TextAlignment { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DataGridTextAlign | Auto |
One of the enumeration values. |
Remarks
The TextAlignment property specifies how the text is aligned in the grid column.
<DxDataGrid Data="@DataSource" >
...
<DxDataGridColumn Field="@nameof(Product.ProductName)"
Caption="Product Name"
TextAlignment="DataGridTextAlign.Justify" >
</DxDataGridColumn>
</DxDataGrid>
See Also
Feedback