RadioListInput
This documentation provides a comprehensive reference for the RadioListInput<TValue> component, including its typed item collection, selected value binding, and developer-focused customization options.
Preview #
Parameters #
| Name | Type | Default | Required | Description | Added Version |
|---|---|---|---|---|---|
| AdditionalAttributes | Dictionary<string, object> | null | Gets or sets additional attributes that will be applied to the component. | 1.0.0 | |
| Class | string? | null | Gets or sets the CSS class name(s) to apply to the component. | 1.0.0 | |
| Disabled | bool | False | Gets or sets the disabled state for the entire radio list. | 1.2.0 | |
| Id | string? | null | Gets or sets the ID. If not set, a unique ID will be generated. | 1.0.0 | |
| Items | IEnumerable<RadioListInputItem<TValue>>? | null | Gets or sets the radio items rendered by the component. | 1.2.0 | |
| ItemTemplate | RenderFragment<RadioListInputItem<TValue>>? | null | Gets or sets the content template used for each radio item. | 1.2.0 | |
| Name | string | null | Gets or sets the radio group name shared by each rendered input. | 1.2.0 | |
| Style | string? | null | Gets or sets the CSS style string that defines the inline styles for the component. | 1.0.0 | |
| Value | TValue | null | Gets or sets the selected value. | 1.2.0 | |
| ValueExpression | Expression<Func<TValue>>? | null | Gets or sets the expression. | 1.2.0 |
Methods #
| Name | Return type | Description | Added Version |
|---|---|---|---|
| Disable() | Void | Disables the RadioListInput<TValue>. |
1.2.0 |
| Enable() | Void | Enables the RadioListInput<TValue>. |
1.2.0 |
Events #
| Name | Return Type | Description | Added Version |
|---|---|---|---|
| ValueChanged | EventCallback<TValue> | This event fires when the RadioListInput<TValue> value changes. |
1.2.0 |