Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenRadioButtonList<TValue>

    RadzenRadioButtonList component.

    Inheritance
    object
    ComponentBase
    RadzenComponent
    FormComponent<TValue>
    RadzenRadioButtonList<TValue>
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    IRadzenFormComponent
    Inherited Members
    FormComponent<TValue>._value
    FormComponent<TValue>.SetParametersAsync(ParameterView)
    FormComponent<TValue>.Dispose()
    FormComponent<TValue>.GetValue()
    FormComponent<TValue>.OnContextMenu(MouseEventArgs)
    FormComponent<TValue>.GetClassList(string)
    FormComponent<TValue>.FocusAsync()
    FormComponent<TValue>.Name
    FormComponent<TValue>.TabIndex
    FormComponent<TValue>.Placeholder
    FormComponent<TValue>.Disabled
    FormComponent<TValue>.EditContext
    FormComponent<TValue>.Form
    FormComponent<TValue>.ValueChanged
    FormComponent<TValue>.HasValue
    FormComponent<TValue>.IsBound
    FormComponent<TValue>.Value
    FormComponent<TValue>.Change
    FormComponent<TValue>.FieldIdentifier
    FormComponent<TValue>.ValueExpression
    FormComponent<TValue>.FormFieldContext
    FormComponent<TValue>.CurrentPlaceholder
    RadzenComponent.OnMouseEnter()
    RadzenComponent.OnMouseLeave()
    RadzenComponent.GetCssClass()
    RadzenComponent.GetId()
    RadzenComponent.Debounce(Func<Task>, int)
    RadzenComponent.OnInitialized()
    RadzenComponent.OnAfterRenderAsync(bool)
    RadzenComponent.RaiseContextMenu(MouseEventArgs)
    RadzenComponent.RaiseMouseEnter()
    RadzenComponent.RaiseMouseLeave()
    RadzenComponent.Attributes
    RadzenComponent.Element
    RadzenComponent.MouseEnter
    RadzenComponent.MouseLeave
    RadzenComponent.ContextMenu
    RadzenComponent.Culture
    RadzenComponent.DefaultCulture
    RadzenComponent.Style
    RadzenComponent.Visible
    RadzenComponent.UniqueID
    RadzenComponent.JSRuntime
    RadzenComponent.IsJSRuntimeAvailable
    RadzenComponent.Reference
    RadzenComponent.CurrentStyle
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.StateHasChanged()
    ComponentBase.ShouldRender()
    ComponentBase.OnAfterRender(bool)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.DispatchExceptionAsync(Exception)
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenRadioButtonList<TValue> : FormComponent<TValue>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable, IRadzenFormComponent
    Type Parameters
    Name Description
    TValue

    The type of the value.

    Examples
    <RadzenRadioButtonList @bind-Value=@value TValue="int" Orientation="Orientation.Vertical" >
        <Items>
            <RadzenRadioButtonListItem Text="Orders" Value="1" />
            <RadzenRadioButtonListItem Text="Employees" Value="2" />
        </Items>
    </RadzenRadioButtonList>

    Constructors

    RadzenRadioButtonList()

    RadzenRadioButtonList component.

    Declaration
    public RadzenRadioButtonList()
    Examples
    <RadzenRadioButtonList @bind-Value=@value TValue="int" Orientation="Orientation.Vertical" >
        <Items>
            <RadzenRadioButtonListItem Text="Orders" Value="1" />
            <RadzenRadioButtonListItem Text="Employees" Value="2" />
        </Items>
    </RadzenRadioButtonList>

    Properties

    AlignItems

    Gets or sets the items alignment.

    Declaration
    [Parameter]
    public AlignItems AlignItems { get; set; }
    Property Value
    Type Description
    AlignItems

    The items alignment.

    Data

    Gets or sets the data.

    Declaration
    [Parameter]
    public virtual IEnumerable Data { get; set; }
    Property Value
    Type Description
    IEnumerable

    The data.

    DisabledProperty

    Gets or sets the disabled property.

    Declaration
    [Parameter]
    public string DisabledProperty { get; set; }
    Property Value
    Type Description
    string

    The disabled property.

    Gap

    Gets or sets the spacing between items

    Declaration
    [Parameter]
    public string Gap { get; set; }
    Property Value
    Type Description
    string

    The spacing between items.

    Items

    Gets or sets the items.

    Declaration
    [Parameter]
    public RenderFragment Items { get; set; }
    Property Value
    Type Description
    RenderFragment

    The items.

    JustifyContent

    Gets or sets the content justify.

    Declaration
    [Parameter]
    public JustifyContent JustifyContent { get; set; }
    Property Value
    Type Description
    JustifyContent

    The content justify.

    Orientation

    Gets or sets the orientation.

    Declaration
    [Parameter]
    public Orientation Orientation { get; set; }
    Property Value
    Type Description
    Orientation

    The orientation.

    TextProperty

    Gets or sets the text property.

    Declaration
    [Parameter]
    public string TextProperty { get; set; }
    Property Value
    Type Description
    string

    The text property.

    ValueProperty

    Gets or sets the value property.

    Declaration
    [Parameter]
    public string ValueProperty { get; set; }
    Property Value
    Type Description
    string

    The value property.

    VisibleProperty

    Gets or sets the visible property.

    Declaration
    [Parameter]
    public string VisibleProperty { get; set; }
    Property Value
    Type Description
    string

    The visible property.

    Wrap

    Gets or sets the wrap.

    Declaration
    [Parameter]
    public FlexWrap Wrap { get; set; }
    Property Value
    Type Description
    FlexWrap

    The wrap.

    Methods

    AddItem(RadzenRadioButtonListItem<TValue>)

    Adds the item.

    Declaration
    public void AddItem(RadzenRadioButtonListItem<TValue> item)
    Parameters
    Type Name Description
    RadzenRadioButtonListItem<TValue> item

    The item.

    BuildRenderTree(RenderTreeBuilder)

    RadzenRadioButtonList component.

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    RenderTreeBuilder __builder
    Overrides
    ComponentBase.BuildRenderTree(RenderTreeBuilder)

    GetComponentCssClass()

    Gets the component CSS class.

    Declaration
    protected override string GetComponentCssClass()
    Returns
    Type Description
    string
    Overrides
    RadzenComponent.GetComponentCssClass()

    IsSelected(RadzenRadioButtonListItem<TValue>)

    Determines whether the specified item is selected.

    Declaration
    protected bool IsSelected(RadzenRadioButtonListItem<TValue> item)
    Parameters
    Type Name Description
    RadzenRadioButtonListItem<TValue> item

    The item.

    Returns
    Type Description
    bool

    true if the specified item is selected; otherwise, false.

    OnParametersSet()

    RadzenRadioButtonList component.

    Declaration
    protected override void OnParametersSet()
    Overrides
    ComponentBase.OnParametersSet()

    Refresh()

    Refreshes this instance.

    Declaration
    public void Refresh()

    RemoveItem(RadzenRadioButtonListItem<TValue>)

    Removes the item.

    Declaration
    public void RemoveItem(RadzenRadioButtonListItem<TValue> item)
    Parameters
    Type Name Description
    RadzenRadioButtonListItem<TValue> item

    The item.

    SelectItem(RadzenRadioButtonListItem<TValue>)

    Selects the item.

    Declaration
    protected Task SelectItem(RadzenRadioButtonListItem<TValue> item)
    Parameters
    Type Name Description
    RadzenRadioButtonListItem<TValue> item

    The item.

    Returns
    Type Description
    Task

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    IRadzenFormComponent

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT