ChoiceGroup
ChoiceGroup let people select a single option from two or more choices.
Notes
The BitChoiceGroup is a Multi-API component which can accept the list of Items in 3 different ways: BitChoiceGroupItem class, a custom Generic class, and BitChoiceGroupOption component.Usage
Basic
Disabled
Illustrates how to disable the entire BitChoiceGroup and individual items.
Images and Icons
Showcases BitChoiceGroup with image and icon items.
Horizontal
Displays the BitChoiceGroup component in a horizontal layout, demonstrating various configurations.
Style & Class
Explores styling and class customization for BitChoiceGroup, including component styles, custom classes, and detailed style items.
Component's Style & Class:
Item's Style & Class:
Styles & Classes:
LabelTemplate
Demonstrates how to customize the label of the BitChoiceGroup using a template.
Binding
Shows how to use one-way and two-way data binding with BitChoiceGroup.
Item templates
Illustrates how to customize the appearance of BitChoiceGroup options using item templates.
RTL
Use BitChoiceGroup in right-to-left (RTL).
Validation
Shows how to use data annotations for validating the selected value in BitChoiceGroup.
API
BitChoiceGroup 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 |
---|---|---|---|
BitChoiceGroupItem properties
Name |
Type |
Default value |
Description |
---|---|---|---|
BitChoiceGroupOption properties
Name |
Type |
Default value |
Description |
---|---|---|---|
BitChoiceGroupNameSelectors<TItem, TValue> properties
Name |
Type |
Default value |
Description |
---|---|---|---|
BitChoiceGroupClassStyles properties
Name |
Type |
Default value |
Description |
---|---|---|---|
BitVisibility enum
Name |
Value |
Description |
---|---|---|
BitDir enum
Name |
Value |
Description |
---|---|---|
- On this page