Radio Group

A set of options where only one can be checked.

Installation

bash
shellui-native add radio-group

Platforms: MAUI · Avalonia. Also installs element-extensions, radio-group-item.

Usage

Basic

Rendered with ShellUI for Blazor
<ui:RadioGroup Value="comfortable">
    <ui:RadioGroupItem Value="default" Text="Default" />
    <ui:RadioGroupItem Value="comfortable" Text="Comfortable" />
    <ui:RadioGroupItem Value="compact" Text="Compact" />
</ui:RadioGroup>
Avalonia, running in your browser

API

RadioGroup

XAML children go to Children.

Property Type Default Description
Value string — Value of the checked item. Two-way bindable.
Event Arguments Description
ValueChanged string User input only: setting Value from code or a binding doesn't raise it.
Method Description
SetValue(string value) Selects the item with this value.

RadioGroupItem

Property Type Default Description
Value string — Value this item stands for.
Text string — Text shown by the component.

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 retry or reload the page.