Back to Devexpress

ICheckBoxSettings Interface

blazor-devexpress-dot-blazor-41005ad5.md

latest1.6 KB
Original Source

ICheckBoxSettings Interface

Declares check box settings.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public interface ICheckBoxSettings :
    IEditSettings

Remarks

The ICheckBoxSettings interface allows you to get and customize settings of a checkbox editor at runtime. You can get editor settings in the following ways:

csharp
void Grid_CustomizeFilterRowEditor(GridCustomizeFilterRowEditorEventArgs e) {
    if(e.EditSettings is ICheckBoxSettings checkboxSettings)
        checkboxSettings.CheckType = CheckType.Switch;
}
csharp
void Grid_CustomizeDataRowEditor(GridCustomizeDataRowEditorEventArgs e) {
    if(e.EditSettings is ICheckBoxSettings checkboxSettings)
        checkboxSettings.CheckType = CheckType.Switch;
}

See Also

ICheckBoxSettings Members

DevExpress.Blazor Namespace