Fundamentals
Components
Code Utilities
Demo
BcRadioButton
Description
The RadioButton component allows users to select a single option from a group of predefined choices. The ButtonGroup can be used to organize multiple radio buttons together.
Parameters BcButtonGroup
Value
TItem
Represents the currently selected value of the radio button or button group.
ValueChanged
Action < TItem >
Triggered when the selected value changes.
ChildContent
RenderFragment?
Specifies custom content inside the radio button, replacing the default label.
Parameters BcRadioButton
Value
TItem
Represents the currently selected value of the radio button or button group.
Methods BcRadiobutton
Toggle ( )
Toggles the selection state of the radio button programmatically.
void
Sample
Accent
Warning
Error