RadioInput

This documentation provides a comprehensive reference for the RadioInput component, guiding you through its configuration options.
Demos

Screenshot #

Blazor RadioInput Component

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. 3.3.0
Class string? null Gets or sets the CSS class name(s) to apply to the component. 3.3.0
Disabled bool False Gets or sets whether the radio input is disabled. When true, users cannot select it. 3.3.0
Id string? null Gets or sets the ID. If not set, a unique ID will be generated. 3.3.0
Label string? null Gets or sets the label displayed next to the radio input. 3.3.0
Name string? null Gets or sets the HTML name used to group related radio inputs. 3.3.0
Style string? null Gets or sets the CSS style string that defines the inline styles for the component. 3.3.0
Value bool False Gets or sets the current value represented by this radio input. 3.3.0
ValueExpression Expression<Func<bool>> null Gets or sets the expression that identifies the bound value for validation and EditContext notifications. 3.3.0

Methods #

Name Return type Description Added Version
Disable() Void Disables the radio input so users cannot select it. 3.3.0
Enable() Void Enables the radio input so users can select it. 3.3.0

Events #

Name Return Type Description Added Version
ValueChanged EventCallback<bool> Fires whenever user interaction selects this radio input. 3.3.0

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.