Table of Contents

Class MBRadioButtonGroup<TItem>

Namespace
Material.Blazor
Assembly
Material.Blazor.dll

A group of MBRadioButton<TItem>s displayed horizontally or vertically.

public class MBRadioButtonGroup<TItem> : SingleSelectComponent<TItem, MBSelectElement<TItem>>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Type Parameters

TItem
Inheritance
MBRadioButtonGroup<TItem>
Implements
Inherited Members

Constructors

MBRadioButtonGroup()

public MBRadioButtonGroup()

Properties

Density

The radio button's density.

[Parameter]
public MBDensity? Density { get; set; }

Property Value

MBDensity?

Vertical

Stack the radio buttons vertically if True, otherwise default horizontal placement.

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

Property Value

bool

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

OnInitializedAsync()

protected override Task OnInitializedAsync()

Returns

Task

OnParametersSetAsync()

When overriding this, call await base.OnParametersSetAsync(); before any user code unless there is a very good reason not to.

protected override Task OnParametersSetAsync()

Returns

Task