Class TelerikRadioGroup<TItem, TValue>
The class for the Telerik RadioGroup Component.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikRadioGroup<TItem, TValue> : TelerikInputBase<TValue>, IDisposable, ILabelableInput, IRadioGroupState
Type Parameters
TItem
|
TValue
|
Constructors
TelerikRadioGroup()
Declaration
public TelerikRadioGroup()
Properties
Data
Declaration
public IEnumerable<TItem> Data { get; set; }
Property Value
System.Collections.Generic.IEnumerable<TItem>
|
ItemTemplate
Defines the item template of the radio items.
Declaration
public RenderFragment<TItem> ItemTemplate { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment<TItem>
|
LabelPosition
Defines where to render the radio labels. Default value is After.
Declaration
public RadioGroupLabelPosition LabelPosition { get; set; }
Property Value
RadioGroupLabelPosition
|
Layout
Defines the layout of the group whether the buttons should be ordered vertically, or horizontally. Default value is Vertical.
Declaration
public RadioGroupLayout Layout { get; set; }
Property Value
RadioGroupLayout
|
Name
The name attribute that the inputs get.
Declaration
public string Name { get; set; }
Property Value
System.String
|
Size
Specifies the size of the radio buttons. Default value is Medium.
Declaration
public string Size { get; set; }
Property Value
System.String
|
TextField
Declaration
public string TextField { get; set; }
Property Value
System.String
|
ValueField
Declaration
public string ValueField { get; set; }
Property Value
System.String
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
System.Threading.Tasks.Task
|
Overrides
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Microsoft.AspNetCore.Components.ParameterView
parameters
|
Returns
System.Threading.Tasks.Task
|