ClassTelerikRadioGroup<TItem, TValue>
The class for the Telerik RadioGroup Component.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Type Parameters:
TItem
TValue
Syntax:
public class TelerikRadioGroup<TItem, TValue> : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikRadioGroup<TItem, TValue>
Implements:
Inherited Members
Constructors
TelerikRadioGroup()
Declaration
public TelerikRadioGroup()
Properties
AriaDescribedBy
Defines the aria-describedby attribute for the component.
Declaration
[Parameter]
public string AriaDescribedBy { get; set; }
Property Value
AriaLabel
Describe the aria-label attribute for the component.
Declaration
[Parameter]
public string AriaLabel { get; set; }
Property Value
AriaLabelledBy
Describe the aria-labelledby attribute for the component.
Declaration
[Parameter]
public string AriaLabelledBy { get; set; }
Property Value
CascadedEditContext
Declaration
[CascadingParameter]
public EditContext CascadedEditContext { get; set; }
Property Value
Data
Declaration
[Parameter]
public IEnumerable<TItem> Data { get; set; }
Property Value
IEnumerable<TItem>
Enabled
Specifies if the Component accepts user interaction and value changes. The default value is "true".
Id
Specifies the id of the Component.
ItemTemplate
Defines the item template of the radio items.
Declaration
[Parameter]
public RenderFragment<TItem> ItemTemplate { get; set; }
Property Value
RenderFragment<TItem>
LabelPosition
Defines where to render the radio labels. Default value is After.
Declaration
[Parameter]
public RadioGroupLabelPosition LabelPosition { get; set; }
Property Value
Layout
Defines the layout of the group whether the buttons should be ordered vertically, or horizontally. Default value is Vertical.
Declaration
[Parameter]
public RadioGroupLayout Layout { get; set; }
Property Value
Name
The name attribute that the inputs get.
OnBlur
Fires when the component loses focus.
Declaration
[Parameter]
public virtual EventCallback OnBlur { get; set; }
Property Value
OnChange
Specifies the callback that's called when the current value is committed (confirmed) by the user - either through the Enter key, or when the Component loses focus.
Declaration
[Parameter]
public virtual EventCallback<object> OnChange { get; set; }
Property Value
TabIndex
Maps to the tabindex attribute of the element. Use it to customize the tabbing focus order on the page.
TextField
Declaration
[Parameter]
public string TextField { get; set; }
Property Value
ValidateOn
Defines the event which specifies when validation is triggered.
Declaration
[Parameter]
public ValidationEvent ValidateOn { get; set; }
Property Value
Value
Specifies the value of the input. Used with two-way binding.
Declaration
[Parameter]
public virtual TValue Value { get; set; }
Property Value
TValue
ValueChanged
Specifies the callback that's called when the value changes.
Declaration
[Parameter]
public EventCallback<TValue> ValueChanged { get; set; }
Property Value
EventCallback<TValue>
ValueExpression
Specifies the expression that identifies the bound value.
Declaration
[Parameter]
public Expression<Func<TValue>> ValueExpression { get; set; }
Property Value
Expression<Func<TValue>>
ValueField
Declaration
[Parameter]
public string ValueField { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
Dispose()
Declaration
public override void Dispose()
Overrides
FocusItemAsync(int)
Moves focus to the radio button corresponding to the specified index.
SetParametersAsync(ParameterView)
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
parameters
Returns
Overrides