menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class ChipList

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    ChipList
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    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 ChipList : EJTagHelper

    Constructors

    ChipList()

    Declaration
    public ChipList()

    Properties

    AvatarIconCss

    Specifies the icon CSS class for the avatar in the chip. {% codeBlock src='chips/avatarIconCss/index.md' %}{% endcodeBlock %}

    Declaration
    [HtmlAttributeName("avatarIconCss")]
    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. {% codeBlock src='chips/avatarText/index.md' %}{% endcodeBlock %}

    Declaration
    [HtmlAttributeName("avatarText")]
    public string AvatarText { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    BeforeClick

    Triggers before the click event of the chip is fired. This event can be used to prevent the further process and restrict the click action over a chip.

    Declaration
    [HtmlAttributeName("beforeClick")]
    public string BeforeClick { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Chips

    This chips property helps to render ChipList component. {% codeBlock src='chips/chips/index.md' %}{% endcodeBlock %}

    Declaration
    [HtmlAttributeName("chips")]
    public object Chips { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Click

    Triggers when a chip is clicked. {% codeBlock src='chips/click/index.md' %}{% endcodeBlock %}

    Declaration
    [HtmlAttributeName("click")]
    public string Click { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Created

    Triggers when the component is created successfully. {% codeBlock src='chips/created/index.md' %}{% endcodeBlock %}

    Declaration
    [HtmlAttributeName("created")]
    public string Created { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    CssClass

    Specifies the custom classes to be added to the chip element used to customize the ChipList component. {% codeBlock src='chips/cssClass/index.md' %}{% endcodeBlock %}

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

    The default value is ""

    Delete

    Fires before removing the chip element. {% codeBlock src='chips/delete/index.md' %}{% endcodeBlock %}

    Declaration
    [HtmlAttributeName("delete")]
    public string Delete { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Deleted

    Triggers when the chip item is removed. {% codeBlock src='chips/deleted/index.md' %}{% endcodeBlock %}

    Declaration
    [HtmlAttributeName("deleted")]
    public string Deleted { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Enabled

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

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

    The default value is true

    EnableDelete

    Enables or disables the delete functionality of a chip. {% codeBlock src='chips/enableDelete/index.md' %}{% endcodeBlock %}

    Declaration
    [HtmlAttributeName("enableDelete")]
    public bool EnableDelete { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    EnablePersistence

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

    Declaration
    [HtmlAttributeName("enablePersistence")]
    public bool EnablePersistence { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    EnableRtl

    Enable or disable rendering component in right to left direction.

    Declaration
    [HtmlAttributeName("enableRtl")]
    public bool EnableRtl { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    HtmlAttributes

    Allows additional HTML attributes such as aria labels, title, name, etc., and accepts n number of attributes in a key-value pair format. {% codeBlock src='chiplist/htmlAttributes/index.md' %}{% endcodeBlock %}

    Declaration
    [HtmlAttributeName("htmlAttributes")]
    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. {% codeBlock src='chips/leadingIconCss/index.md' %}{% endcodeBlock %}

    Declaration
    [HtmlAttributeName("leadingIconCss")]
    public string LeadingIconCss { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    LeadingIconUrl

    Specifies the trailing icon url for the chip.

    Declaration
    [HtmlAttributeName("leadingIconUrl")]
    public string LeadingIconUrl { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Locale

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

    Declaration
    [HtmlAttributeName("locale")]
    public string Locale { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    SelectedChips

    Sets or gets the selected chip items in the chip list. {% codeBlock src='chips/selectedChips/index.md' %}{% endcodeBlock %}

    Declaration
    [HtmlAttributeName("selectedChips")]
    public object SelectedChips { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Selection

    Defines the selection type of the chip. The available types are:

    1. Input chip
    2. Choice chip
    3. Filter chip
    4. Action chip
    Declaration
    [HtmlAttributeName("selection")]
    public Selection Selection { get; set; }
    Property Value
    Type Description
    Selection

    The default value is Selection.None

    Text

    Specifies the text content for the chip. {% codeBlock src='chips/text/index.md' %}{% endcodeBlock %}

    Declaration
    [HtmlAttributeName("text")]
    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. {% codeBlock src='chips/trailingIconCss/index.md' %}{% endcodeBlock %}

    Declaration
    [HtmlAttributeName("trailingIconCss")]
    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
    [HtmlAttributeName("trailingIconUrl")]
    public string TrailingIconUrl { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

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