menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChipCollectionBuilder - API Reference

    Show / Hide Table of Contents

    Class ChipCollectionBuilder

    Inheritance
    System.Object
    ControlBuilder
    ChipCollectionBuilder
    Inherited Members
    ControlBuilder.Output
    ControlBuilder.Context
    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.EJ2.Buttons
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChipCollectionBuilder : ControlBuilder

    Constructors

    ChipCollectionBuilder()

    Declaration
    public ChipCollectionBuilder()

    ChipCollectionBuilder(List<ChipCollection>)

    Declaration
    public ChipCollectionBuilder(List<ChipCollection> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<ChipCollection> collection

    Methods

    Add()

    Declaration
    public void Add()

    AvatarIconCss(String)

    Specifies the icon CSS class for the avatar in the chip.

    Declaration
    public ChipCollectionBuilder AvatarIconCss(string avatarIconCss)
    Parameters
    Type Name Description
    System.String avatarIconCss
    Returns
    Type Description
    ChipCollectionBuilder

    AvatarText(String)

    Specifies the customized text value for the avatar in the chip.

    Declaration
    public ChipCollectionBuilder AvatarText(string avatarText)
    Parameters
    Type Name Description
    System.String avatarText
    Returns
    Type Description
    ChipCollectionBuilder

    CssClass(String)

    Specifies the custom classes to be added to the chip element used to customize the ChipList component.

    Declaration
    public ChipCollectionBuilder CssClass(string cssClass)
    Parameters
    Type Name Description
    System.String cssClass
    Returns
    Type Description
    ChipCollectionBuilder

    Enabled(Boolean)

    Specifies a value that indicates whether the chip component is enabled or not.

    Declaration
    public ChipCollectionBuilder Enabled(bool enabled)
    Parameters
    Type Name Description
    System.Boolean enabled
    Returns
    Type Description
    ChipCollectionBuilder

    HtmlAttributes(Object)

    Specifies the additional HTML attributes, such as title, styles, class, id, and name, in a key-value pair format and appended to the chip item element of the Chip component. If both the property and equivalent HTML attributes are configured, then the component overrides the property value with the HTML attributes.

    Declaration
    public ChipCollectionBuilder HtmlAttributes(object htmlAttributes)
    Parameters
    Type Name Description
    System.Object htmlAttributes
    Returns
    Type Description
    ChipCollectionBuilder

    LeadingIconCss(String)

    Specifies the leading icon CSS class for the chip.

    Declaration
    public ChipCollectionBuilder LeadingIconCss(string leadingIconCss)
    Parameters
    Type Name Description
    System.String leadingIconCss
    Returns
    Type Description
    ChipCollectionBuilder

    LeadingIconUrl(String)

    Specifies the leading icon url for the chip.

    Declaration
    public ChipCollectionBuilder LeadingIconUrl(string leadingIconUrl)
    Parameters
    Type Name Description
    System.String leadingIconUrl
    Returns
    Type Description
    ChipCollectionBuilder

    Text(String)

    Specifies the text content for the chip.

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

    TrailingIconCss(String)

    Specifies the trailing icon CSS class for the chip.

    Declaration
    public ChipCollectionBuilder TrailingIconCss(string trailingIconCss)
    Parameters
    Type Name Description
    System.String trailingIconCss
    Returns
    Type Description
    ChipCollectionBuilder

    TrailingIconUrl(String)

    Specifies the trailing icon url for the chip.

    Declaration
    public ChipCollectionBuilder TrailingIconUrl(string trailingIconUrl)
    Parameters
    Type Name Description
    System.String trailingIconUrl
    Returns
    Type Description
    ChipCollectionBuilder

    Value(Double)

    Defines the value of the chip.

    Declaration
    public ChipCollectionBuilder Value(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    ChipCollectionBuilder

    Value(String)

    Defines the value of the chip.

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