Skip to main content

DxDataGrid<T>.DataRowCssClass Property

Specifies the CSS class for grid rows.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.1.dll

Declaration

[Parameter]
public virtual string DataRowCssClass { get; set; }

Property Value

Type Description
String

A cascading style sheet class’s name.

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.

Assign the required CSS class name to the DataRowCssClass property value to define the data row’s appearance using cascading style sheets.

<DxDataGrid Data="@forecasts" DataRowCssClass="test-row" ...>
    ...
</DxDataGrid>

Refer to CSS Classes for more information.

See Also