menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GroupButtonProperties

    Show / Hide Table of Contents

    Class GroupButtonProperties

    Inheritance
    System.Object
    EJTagHelper
    GroupButtonProperties
    Inherited Members
    EJTagHelper.GetControlDetails(String)
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript.Models
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class GroupButtonProperties : EJTagHelper

    Constructors

    GroupButtonProperties()

    Initializes a new instance of the GroupButtonProperties class.

    Declaration
    public GroupButtonProperties()

    Properties

    BeforeSelect

    Gets or sets a value indicating this event gets fired before any button element in the group button gets selected.

    Declaration
    [JsonProperty("beforeSelect")]
    public string BeforeSelect { get; set; }
    Property Value
    Type Description
    System.String

    Create

    Gets or sets a value indicating this event gets fired when group button is created.

    Declaration
    [JsonProperty("create")]
    public string Create { get; set; }
    Property Value
    Type Description
    System.String

    CssClass

    Gets or sets the root CSS class to group button for theme customization.

    Declaration
    [JsonProperty("cssClass")]
    public string CssClass { get; set; }
    Property Value
    Type Description
    System.String

    DataSource

    Gets or sets value indicating the data source. Data source can be a string array or json array.

    Declaration
    [HtmlAttributeName("datasource")]
    [JsonProperty("dataSource")]
    [JsonConverter(typeof(DataManagerConverter))]
    public object DataSource { get; set; }
    Property Value
    Type Description
    System.Object

    Destroy

    Gets or sets a value indicating this event gets fired when the group button is destroyed successfully.

    Declaration
    [JsonProperty("destroy")]
    public string Destroy { get; set; }
    Property Value
    Type Description
    System.String

    Enabled

    Gets or sets a value indicating whether the control can respond to user interaction.

    Declaration
    [JsonProperty("enabled")]
    public bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnableRTL

    Gets or sets a value to align the group button in right to left direction.

    Declaration
    [JsonProperty("enableRTL")]
    public bool EnableRTL { get; set; }
    Property Value
    Type Description
    System.Boolean

    GroupButtonFields

    Gets or sets a value indicating the field members which make databind easier.

    Declaration
    [JsonProperty("fields")]
    public GroupButtonFields GroupButtonFields { get; set; }
    Property Value
    Type Description
    GroupButtonFields

    GroupButtonMode

    Gets or sets a value indicating the mode (checkbox mode/radio button mode) of the group button.

    Declaration
    [JsonProperty("groupButtonMode")]
    [JsonConverter(typeof(StringEnumConverter))]
    public GroupButtonMode GroupButtonMode { get; set; }
    Property Value
    Type Description
    GroupButtonMode

    Height

    Gets or sets the height of the group button.

    Declaration
    [JsonProperty("height")]
    public string Height { get; set; }
    Property Value
    Type Description
    System.String

    HtmlAttributes

    Gets or sets the value to map the field of HTML attributes for the group button element.

    Declaration
    [JsonProperty("htmlAttributes")]
    public IDictionary<string, object> HtmlAttributes { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IDictionary<System.String, System.Object>

    Items

    Declaration
    [JsonIgnore]
    public List<GroupButtonBaseItem> Items { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<GroupButtonBaseItem>

    KeyPress

    Gets or sets a value indicating this event gets fired once the key is pressed, when the control is in focused state.

    Declaration
    [JsonProperty("keyPress")]
    public string KeyPress { get; set; }
    Property Value
    Type Description
    System.String

    Orientation

    Gets or sets the orientation of the group button.

    Declaration
    [JsonConverter(typeof(StringEnumConverter))]
    [JsonProperty("orientation")]
    public Orientation Orientation { get; set; }
    Property Value
    Type Description
    Orientation

    Query

    Gets or sets a value to retrieve the data from the data source.

    Declaration
    [JsonConverter(typeof(QueryConverter))]
    [JsonProperty("query")]
    public string Query { get; set; }
    Property Value
    Type Description
    System.String

    Select

    Gets or sets a value indicating this event gets fired when the button element gets selected.

    Declaration
    [JsonProperty("select")]
    public string Select { get; set; }
    Property Value
    Type Description
    System.String

    SelectedItemIndex

    Gets or sets the list of button items to be selected. This property is applicable when 'GroupButtonMode' is 'checkbox' mode.

    Declaration
    [JsonProperty("selectedItemIndex")]
    public List<int> SelectedItemIndex { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Int32>

    ShowRoundedCorner

    Gets or sets the value indicating the group button with rounded corners or not.

    Declaration
    [JsonProperty("showRoundedCorner")]
    public bool ShowRoundedCorner { get; set; }
    Property Value
    Type Description
    System.Boolean

    Size

    Gets or sets the size of the group button..

    Declaration
    [JsonProperty("size")]
    [JsonConverter(typeof(StringEnumConverter))]
    public ButtonSize Size { get; set; }
    Property Value
    Type Description
    ButtonSize

    Width

    Gets or sets the width of the group button.

    Declaration
    [JsonProperty("width")]
    public string Width { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    GetControlDetails()

    Declaration
    protected override object GetControlDetails()
    Returns
    Type Description
    System.Object
    Overrides
    EJTagHelper.GetControlDetails()

    ShouldSerializeDataSource()

    ShouldSerialize method for DataSource

    Declaration
    public bool ShouldSerializeDataSource()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeGroupButtonFields()

    ShouldSerialize method for GroupButtonFields

    Declaration
    public bool ShouldSerializeGroupButtonFields()
    Returns
    Type Description
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved