RadioButtonList (Blazor)

This article demonstrates how to use the RadioButtonList component. Check also the component guide and API reference.

RadioButtonList Properties

Name Type Default Description
Name string ‘radiobuttonlist’ + index suffix Unique name of the RadioButtonList.
Items array null RadioButtonList options.
Value string null RadioButtonList value.
Orientation string ‘horizontal’ ‘horizontal’ or ‘vertical’.
Disabled boolean/expression false Is RadioButtonList disabled.
Visible boolean/expression true Is RadioButtonList visible.
Data array null RadioButtonList data.
TextProperty string null RadioButtonList data text property name.
ValueProperty string null RadioButtonList data value property name.

RadioButtonList Events

Name Type Default Description
Change event null Change event of the RadioButtonList. Selected value as event argument.

For more info about event actions please visit event actions in our documentation.

Blazor declaration

<RadzenRadioButtonList Change="@Changed">
        <RadzenRadioButtonListItem Text="Orders" Value="1" />
        <RadzenRadioButtonListItem Text="Employees" Value="2" />
        <RadzenRadioButtonListItem Text="Customers" Value="3" />