Class ChipList
Inheritance
System.Object
ChipList
Assembly: Syncfusion.EJ2.dll
public class ChipList : EJTagHelper
Constructors
Declaration
Properties
Specifies the icon CSS class for the avatar in the chip.
{% codeBlock src='chips/avatarIconCss/index.md' %}{% endcodeBlock %}
Declaration
public string AvatarIconCss { get; set; }
Property Value
Type |
Description |
System.String |
|
AvatarText
Specifies the customized text value for the avatar in the chip.
{% codeBlock src='chips/avatarText/index.md' %}{% endcodeBlock %}
Declaration
public string AvatarText { get; set; }
Property Value
Type |
Description |
System.String |
|
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.
{% codeBlock src='chips/beforeClick/index.md' %}{% endcodeBlock %}
Declaration
public string BeforeClick { get; set; }
Property Value
Type |
Description |
System.String |
|
This chips property helps to render ChipList component.
{% codeBlock src='chips/chips/index.md' %}{% endcodeBlock %}
Declaration
public object Chips { get; set; }
Property Value
Type |
Description |
System.Object |
|
Declaration
protected override string ClassName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Triggers when a chip is clicked.
{% codeBlock src='chips/click/index.md' %}{% endcodeBlock %}
Declaration
public string Click { get; set; }
Property Value
Type |
Description |
System.String |
|
Triggers when the component is created successfully.
{% codeBlock src='chips/created/index.md' %}{% endcodeBlock %}
Declaration
public string Created { get; set; }
Property Value
Type |
Description |
System.String |
|
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
public string CssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
Fires before removing the chip element.
{% codeBlock src='chips/delete/index.md' %}{% endcodeBlock %}
Declaration
public string Delete { get; set; }
Property Value
Type |
Description |
System.String |
|
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 |
|
Enables or disables the delete functionality of a chip.
{% codeBlock src='chips/enableDelete/index.md' %}{% endcodeBlock %}
Declaration
public bool EnableDelete { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Enable or disable persisting component's state between page reloads.
Declaration
public bool EnablePersistence { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Enable or disable rendering component in right to left direction.
Declaration
public bool EnableRtl { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Allows additional HTML attributes such as title, name, etc., and
accepts n number of attributes in a key-value pair format.
Declaration
public object HtmlAttributes { get; set; }
Property Value
Type |
Description |
System.Object |
|
Declaration
protected override bool IsFor { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Specifies the leading icon CSS class for the chip.
{% codeBlock src='chips/leadingIconCss/index.md' %}{% endcodeBlock %}
Declaration
public string LeadingIconCss { get; set; }
Property Value
Type |
Description |
System.String |
|
Specifies the trailing icon url for the chip.
Declaration
public string LeadingIconUrl { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
Declaration
public string Locale { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected override string NameSpace { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Sets or gets the selected chip items in the chip list.
{% codeBlock src='chips/selectedChips/index.md' %}{% endcodeBlock %}
Declaration
public object SelectedChips { get; set; }
Property Value
Type |
Description |
System.Object |
|
Defines the selection type of the chip. The available types are:
- Input chip
- Choice chip
- Filter chip
- Action chip
Declaration
public Selection Selection { get; set; }
Property Value
Declaration
protected override string TagName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Text
Specifies the text content for the chip.
{% codeBlock src='chips/text/index.md' %}{% endcodeBlock %}
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
Specifies the trailing icon CSS class for the chip.
{% codeBlock src='chips/trailingIconCss/index.md' %}{% endcodeBlock %}
Declaration
public string TrailingIconCss { get; set; }
Property Value
Type |
Description |
System.String |
|
Specifies the trailing icon url for the chip.
Declaration
public string TrailingIconUrl { get; set; }
Property Value
Type |
Description |
System.String |
|