menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChipCollection - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChipCollection

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    ChipCollection
    Namespace: Syncfusion.EJ2.Buttons
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class ChipCollection : EJTagHelper

    Constructors

    ChipCollection()

    Declaration
    public ChipCollection()

    Properties

    AvatarIconCss

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

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

    The default value is ""

    AvatarText

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

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

    The default value is ""

    CssClass

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

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

    The default value is ""

    Enabled

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

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

    The default value is true

    HtmlAttributes

    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 object HtmlAttributes { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    LeadingIconCss

    Specifies the leading icon CSS class for the chip.

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

    The default value is ""

    LeadingIconUrl

    Specifies the leading icon url for the chip.

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

    The default value is ""

    Template

    Specifies the template content to be rendered for each individual chip item. This template allows for the rendering of custom HTML elements, such as anchor tags, SVG icons, or other components, within each chip item.

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

    The default value is null

    Text

    Specifies the text content for the chip.

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

    The default value is ""

    TrailingIconCss

    Specifies the trailing icon CSS class for the chip.

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

    The default value is ""

    TrailingIconUrl

    Specifies the trailing icon url for the chip.

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

    The default value is ""

    Value

    Defines the value of the chip.

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

    The default value is ""

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved