Skip to Content
API ReferenceRadioGroup

RadioGroup

A group of mutually exclusive radio button options. Only one option can be selected at a time. Maps to a UIToolkit RadioButtonGroup.

Constructor

RadioGroup

Creates an RadioGroup element.

ParameterDescription
optionsThe list of option labels. Must not be null.
selectedValueThe currently selected option, or null for no selection.
onChangedCallback invoked when the selection changes.
keyAn optional key for reconciliation identity.

Properties

OnChanged

Callback invoked whenever the selected option changes. Receives the newly selected option value as its argument.

Options

The list of option labels displayed as radio buttons.

SelectedValue

The currently selected option value, or null when nothing is selected.

Methods

ShouldRebuild

Last updated on