RayCraftDocs
v1.0.3 raycraft.dev
On this page

Checkbox

Free

Boolean input with a label.

Example

Checkbox control

Parameters

ParameterTypeDescription
ClassstringExtra CSS classes added to the root element.
DisabledboolDisables interaction.
DisplayNamestringName used in validation messages.
HelperTextstringHint shown below the field.
IndeterminateboolShows the mixed state (a dash). A click clears it.
LabelstringVisible label text (charts: accessible name; IconButton: accessible name and tooltip).
ReadOnlyboolShows the value but does not allow changes.
StylestringInline style added to the root element.
ValueboolCurrent value. Use with @bind-Value.

Events

EventTypeDescription
IndeterminateChangedEventCallback<bool>Raised when a click clears the mixed state.
ValueChangedEventCallback<bool>Raised when the value changes.

Package

Checkbox is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.