Table of Contents

Class RadioGroup<T>

Namespace
The.Web.Widgets
Assembly
Instagile.Web.Client.dll
public class RadioGroup<T> : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, ISelectionWidget<T>, IWidget<T?>

Type Parameters

T
Inheritance
RadioGroup<T>
Implements
Inherited Members

Properties

ChildContent

Format a choice for display as HTML. May be generated in constrained circumstances (for example, inside an <option> tag).

[Parameter]
public RenderFragment<T>? ChildContent { get; set; }

Property Value

RenderFragment<T>

HasChanges

If true, display a visual indication to the user.

[Parameter]
public bool HasChanges { get; set; }

Property Value

bool

Options

Preset choices for Value.

[Parameter]
public IReadOnlyList<T> Options { get; set; }

Property Value

IReadOnlyList<T>

Validity

If set, display a visual indication to the user.

[Parameter]
public MessageLevel? Validity { get; set; }

Property Value

MessageLevel?

Value

Bindable typed value.

[Parameter]
public T? Value { get; set; }

Property Value

T

ValueChanged

Triggered when data is entered by the user.

[Parameter]
public EventCallback<T?> ValueChanged { get; set; }

Property Value

EventCallback<T>

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

OnInitialized()

Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.

protected override void OnInitialized()