CheckBox Component Samples
Basic CheckBox
Agreed: False
Pre-checked CheckBox
Text Alignment
Disabled CheckBox
CheckBox without Text
Value: False
Styled CheckBox
Event Handling
Event fired: 0 times
Code:
<CheckBox Text="I agree to terms" @bind-Checked="agreed" />
<CheckBox Text="Already checked" Checked="true" />
<CheckBox Text="Label on left" TextAlign="TextAlign.Left" />
<CheckBox Text="Cannot change (disabled)" Enabled="false" Checked="true" />


