DxDataGridCheckBoxColumn.CheckType Property

Specifies how to display column values.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll


public CheckType CheckType { get; set; }

Property Value

Type Default Description


The checkbox type.

Available values:

Name Description

A standard checkbox.


A toggle switch.


When the CheckType property is set to CheckType.Checkbox, column values are displayed as standard checkboxes. In the edit form, users can choose between the checked, unchecked, and indeterminate states.

<DxDataGrid DataAsync="@ForecastService.GetForecastAsync" ...>
    <DxDataGridCheckBoxColumn Field="@nameof(WeatherForecast.Precipitation)">

Data Grid CheckBoxColumn Checkboxes

Set the CheckType property to CheckType.Switch to display column values as toggle switches. In the edit form, users can select between the checked and unchecked states. The indeterminate state is not available in this mode.

<DxDataGrid DataAsync="@ForecastService.GetForecastAsync" ...>
    <DxDataGridCheckBoxColumn Field="@nameof(WeatherForecast.Precipitation)" CheckType="CheckType.Switch">

Data Grid CheckBoxColumn Switches

See Also