menu

ASP.NET Web Forms

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

    Show / Hide Table of Contents

    Class ListBoxFieldsBuilder

    Specifies the mapping fields

    Inheritance
    System.Object
    ListBoxFieldsBuilder
    Inherited Members
    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
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class ListBoxFieldsBuilder

    Constructors

    ListBoxFieldsBuilder(ListBoxFields)

    Specifies the mapping fields for the data items of the ListBox.

    Declaration
    public ListBoxFieldsBuilder(ListBoxFields fields)
    Parameters
    Type Name Description
    ListBoxFields fields

    Methods

    Category(String)

    Used to group the items.

    Declaration
    public ListBoxFieldsBuilder Category(string category)
    Parameters
    Type Name Description
    System.String category
    Returns
    Type Description
    ListBoxFieldsBuilder

    CheckBy(String)

    Defines the specific field name which contains Boolean values to specify whether the list items to be checked by default or not.

    Declaration
    public ListBoxFieldsBuilder CheckBy(string checkBy)
    Parameters
    Type Name Description
    System.String checkBy
    Returns
    Type Description
    ListBoxFieldsBuilder

    GroupBy(String)

    The grouping in the ListBox widget can be defined using this field.

    Declaration
    public ListBoxFieldsBuilder GroupBy(string groupBy)
    Parameters
    Type Name Description
    System.String groupBy
    Returns
    Type Description
    ListBoxFieldsBuilder

    HtmlAttributes(String)

    Defines the HTML attributes such as id, class, styles for the specific ListBox item.

    Declaration
    public ListBoxFieldsBuilder HtmlAttributes(string htmlAttributes)
    Parameters
    Type Name Description
    System.String htmlAttributes
    Returns
    Type Description
    ListBoxFieldsBuilder

    ID(String)

    Defines the ID for the tag.

    Declaration
    public ListBoxFieldsBuilder ID(string id)
    Parameters
    Type Name Description
    System.String id
    Returns
    Type Description
    ListBoxFieldsBuilder

    ImageAttributes(String)

    Defines the image attributes such as height, width, styles, and so on.

    Declaration
    public ListBoxFieldsBuilder ImageAttributes(string imageAttributes)
    Parameters
    Type Name Description
    System.String imageAttributes
    Returns
    Type Description
    ListBoxFieldsBuilder

    ImageUrl(String)

    Defines the imageURL for the image location.

    Declaration
    public ListBoxFieldsBuilder ImageUrl(string imageUrl)
    Parameters
    Type Name Description
    System.String imageUrl
    Returns
    Type Description
    ListBoxFieldsBuilder

    SelectBy(String)

    Defines the specific field name which contains Boolean values to specify whether the list items to be selected by default or not.

    Declaration
    public ListBoxFieldsBuilder SelectBy(string selectBy)
    Parameters
    Type Name Description
    System.String selectBy
    Returns
    Type Description
    ListBoxFieldsBuilder

    Selected(String)

    To select the item on rendering itself

    Declaration
    public ListBoxFieldsBuilder Selected(string selected)
    Parameters
    Type Name Description
    System.String selected
    Returns
    Type Description
    ListBoxFieldsBuilder

    SpriteCssClass(String)

    Defines the sprite CSS for the image tag.

    Declaration
    public ListBoxFieldsBuilder SpriteCssClass(string spriteCssClass)
    Parameters
    Type Name Description
    System.String spriteCssClass
    Returns
    Type Description
    ListBoxFieldsBuilder

    TableName(String)

    Defines the table name for tag value or display text while rendering remote data.

    Declaration
    public ListBoxFieldsBuilder TableName(string tableName)
    Parameters
    Type Name Description
    System.String tableName
    Returns
    Type Description
    ListBoxFieldsBuilder

    Text(String)

    Defines the text content for the tag.

    Declaration
    public ListBoxFieldsBuilder Text(string text)
    Parameters
    Type Name Description
    System.String text
    Returns
    Type Description
    ListBoxFieldsBuilder

    TooltipText(String)

    Specifies the Tooltip text of the ListBox.

    Declaration
    public ListBoxFieldsBuilder TooltipText(string tooltipText)
    Parameters
    Type Name Description
    System.String tooltipText
    Returns
    Type Description
    ListBoxFieldsBuilder

    Value(String)

    Defines the tag value.

    Declaration
    public ListBoxFieldsBuilder Value(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type Description
    ListBoxFieldsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved