Table of Contents

Interface IRadioContainer

Namespace
BlazOrbit.Components.Forms
Assembly
BlazOrbit.dll

Contract implemented by radio-group containers that coordinate child IRadioOption selection.

public interface IRadioContainer

Properties

ElementType

Underlying value type the radio group binds to.

Type ElementType { get; }

Property Value

Type

Methods

IsOptionSelected(object?)

Returns true when value matches the currently selected option.

bool IsOptionSelected(object? value)

Parameters

value object

Returns

bool

RegisterOption(IRadioOption)

Registers a child option with the container.

void RegisterOption(IRadioOption option)

Parameters

option IRadioOption

SelectOptionAsync(object?)

Sets the currently selected option to the one whose value matches value.

Task SelectOptionAsync(object? value)

Parameters

value object

Returns

Task

UnregisterOption(IRadioOption)

Removes a previously registered option from the container.

void UnregisterOption(IRadioOption option)

Parameters

option IRadioOption