Checkbox
BitCheckbox is a component that permits the user to make a binary choice, a choice between one of two possible mutually exclusive options. For example, the user may have to answer 'yes' or 'no' on a simple yes/no question. Checkboxes by default are shown as ☐ when unchecked and ☑ when checked.
Usage
Basic
Basic usage of BitCheckbox with enabled and disabled states.
Check icon
Customize the check icon of BitCheckbox.
Reversed
Adjust the label position of BitCheckbox to be reversed.
LabelTemplate
Customizing the label of BitCheckbox using a template.
Indeterminate
Display BitCheckbox in an indeterminate state.
Binding
Demonstrates one-way and two-way data binding with BitCheckbox.
Value:
Indeterminate:
Custom content
Create a custom checkbox with unique content and style.
Style & Class
Explore styling and class customization for BitCheckbox, including component styles, custom classes, and detailed styles.
Component's Style & Class:
Styles & Classes:
Validation
Use data annotations to validate the BitCheckbox component.
RTL
Use BitCheckbox in right-to-left (RTL).
API
BitCheckbox parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitInputBase parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitInputBase public members
Name |
Type |
Default value |
Description |
---|---|---|---|
BitComponentBase parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitComponentBase public members
Name |
Type |
Default value |
Description |
---|---|---|---|
BitCheckboxClassStyles properties
Name |
Type |
Default value |
Description |
---|---|---|---|
BitVisibility enum
Name |
Value |
Description |
---|---|---|
BitDir enum
Name |
Value |
Description |
---|---|---|
- On this page