ASP.NET Core - EJ2

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RadioButton - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RadioButton

    Inheritance
    System.Object
    EJTagHelper
    RadioButton
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.Process(TagHelperContext, TagHelperOutput)
    EJTagHelper.RegisterScript()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.ViewContext
    EJTagHelper.Id
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    Namespace: Syncfusion.EJ2.Buttons
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class RadioButton : EJTagHelper

    Constructors

    RadioButton()

    Declaration
    public RadioButton()

    Properties

    Change

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

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

    Checked

    Specifies a value that indicates whether the RadioButton is checked or not. When set to true, the RadioButton will be in checked state.

    Declaration
    public bool Checked { get; set; }
    Property Value
    Type Description
    System.Boolean

    ClassName

    Declaration
    protected override string ClassName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.ClassName

    Created

    Triggers once the component rendering is completed.

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

    CssClass

    Defines class/multiple classes separated by a space in the RadioButton element. You can add custom styles to the RadioButton by using this property.

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

    Disabled

    Specifies a value that indicates whether the RadioButton is disabled or not. When set to true, the RadioButton will be in disabled state.

    Declaration
    public bool Disabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnableHtmlSanitizer

    Defines whether to allow the cross-scripting site or not.

    Declaration
    public bool EnableHtmlSanitizer { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnablePersistence

    Enable or disable persisting component's state between page reloads.

    Declaration
    public bool EnablePersistence { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnableRtl

    Enable or disable rendering component in right to left direction.

    Declaration
    public bool EnableRtl { get; set; }
    Property Value
    Type Description
    System.Boolean

    For

    Declaration
    public override ModelExpression For { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExpression
    Overrides
    EJTagHelper.For

    HtmlAttributes

    Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.

    Declaration
    public object HtmlAttributes { get; set; }
    Property Value
    Type Description
    System.Object

    IsFor

    Declaration
    protected override bool IsFor { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    EJTagHelper.IsFor

    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 RadioLabelPosition LabelPosition { get; set; }
    Property Value
    Type Description
    RadioLabelPosition

    Locale

    Overrides the global culture and localization value for this component. Default global culture is 'en-US'.

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

    Name

    Defines name attribute for the RadioButton. It is used to reference form data (RadioButton value) after a form is submitted.

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

    NameSpace

    Declaration
    protected override string NameSpace { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.NameSpace

    TagName

    Declaration
    protected override string TagName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    EJTagHelper.TagName

    Value

    Defines value attribute for the RadioButton. It is a form data passed to the server when submitting the form.

    Declaration
    public string Value { get; set; }
    Property Value
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved