Demos
For examples and details on the usage of this component, visit the component demo page:
RadioGroup<TValue>
Properties
| Parameter | Type | Description | Default |
|---|---|---|---|
| Disabled | bool |
Gets or sets a value indicating whether the input is disabled. | false |
| ReadOnly | bool |
Gets or sets a value indicating whether the input is read-only. | false |
| Required | bool |
Gets or sets a value indicating whether the input is required. | false |
| Invalid | bool |
Gets or sets a value indicating whether the input is invalid. | false |
| Classes | RadioSlots |
Gets or sets the CSS class names for the checkbox slots. | - |
| Color | ThemeColor |
Gets or sets a color of the radio button. | Primary |
| Size | Size |
Gets or sets the size of the radio button. | Medium |
| Description | string |
Gets or sets the description for this particular option. | - |
| Value | T |
Gets or sets the value of this input. | - |
| ChildContent | RenderFragment |
Gets or sets content to be rendered inside the input. | - |
| As | string |
Gets or sets an HTML tag of the component. | - |
| Class | string |
Gets or sets CSS class names that will be applied to the component. | - |
| Style | string |
Gets or sets styles that will be applied to the component. | - |
| AdditionalAttributes | IReadOnlyDictionary<string, object> |
Gets or sets a collection of additional attributes that will be applied to the component. | - |
| ElementReference | ElementReference? |
Gets or sets the associated . May be if accessed before the component is rendered. | - |