Skip to main content

DxCheckBox<T>.DisableDefaultRender Property

Specifies whether to hide the default check mark.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor


public bool DisableDefaultRender { get; set; }

Property Value

Type Description

true to hide the default check mark; false to draw the default check mark.


When you render custom checkbox content, set the DisableDefaultRender property to true to hide the default check mark (or toggle switch).

<DxCheckBox @bind-Checked="@Value" AllowIndeterminateStateByClick="true" DisableDefaultRender="true">
   // Add child content here...         

    bool? Value { get; set; } = true;
    // ...

CheckBox Custom Content

Run Demo: CheckBox - Customize Layout

See Also