Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfRadioButton<TChecked> - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfRadioButton<TChecked>

    The RadioButton is a graphical user interface element that allows you to select one option from the choices. It contains checked and unchecked states.

    Inheritance
    System.Object
    Syncfusion.Blazor.SfBaseComponent
    SfInputBase<TChecked>
    SfRadioButton<TChecked>
    Inherited Members
    SfInputBase<TChecked>.input
    SfInputBase<TChecked>.rippleElement
    SfInputBase<TChecked>.id
    SfInputBase<TChecked>.htmlAttributes
    SfInputBase<TChecked>.OnParametersSetAsync()
    SfInputBase<TChecked>.UpdateCheckState(TChecked)
    SfInputBase<TChecked>.OnAfterRenderAsync(Boolean)
    SfInputBase<TChecked>.FocusIn()
    Syncfusion.Blazor.Buttons.SfInputBase<TChecked>.Click()
    SfInputBase<TChecked>.ID
    Syncfusion.Blazor.Buttons.SfInputBase<TChecked>.ChildContent
    SfInputBase<TChecked>.CssClass
    SfInputBase<TChecked>.Name
    SfInputBase<TChecked>.Value
    SfInputBase<TChecked>.Checked
    Syncfusion.Blazor.Buttons.SfInputBase<TChecked>.CheckedChanged
    Syncfusion.Blazor.Buttons.SfInputBase<TChecked>.CheckedExpression
    SfInputBase<TChecked>.Disabled
    SfInputBase<TChecked>.EnableRtl
    SfInputBase<TChecked>.EnablePersistence
    Syncfusion.Blazor.Buttons.SfInputBase<TChecked>.EnableHtmlSanitizer
    Syncfusion.Blazor.Buttons.SfInputBase<TChecked>.Locale
    Syncfusion.Blazor.Buttons.SfInputBase<TChecked>.HtmlAttributes
    SfInputBase<TChecked>.Created
    Namespace: Syncfusion.Blazor.Buttons
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class SfRadioButton<TChecked> : SfInputBase<TChecked>
    Type Parameters
    Name Description
    TChecked

    Constructors

    SfRadioButton()

    Declaration
    public SfRadioButton()

    Properties

    Label

    Defines the caption for the RadioButton, that describes the purpose of the RadioButton.

    Declaration
    public string Label { get; set; }
    Property Value
    Type Description
    System.String

    LabelPosition

    Positions label before/after the RadioButton. The possible values are:

    • Before: The label is positioned to left of the RadioButton.
    • After: The label is positioned to right of the RadioButton.
    Declaration
    public LabelPosition LabelPosition { get; set; }
    Property Value
    Type Description
    LabelPosition

    ValueChange

    Event trigger when the RadioButton state has been changed by user interaction.

    Declaration
    public EventCallback<ChangeArgs<TChecked>> ValueChange { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<ChangeArgs<TChecked>>

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    InitRender()

    Declaration
    protected override void InitRender()
    Overrides
    Syncfusion.Blazor.Buttons.SfInputBase<TChecked>.InitRender()

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    Syncfusion.Blazor.Buttons.SfInputBase<TChecked>.OnInitializedAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved