New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI ChipListItem class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChipListItem

Inheritance: objectChipListItem

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public ChipListItem()

Properties

If set, value will be appended to the icon's element class attribute. It also appends "k-chip avatar" and "k-avatar" classes to the icon's element.

C#
public string AvatarClass { get; set; }

ChipList member.

C#
public ChipList ChipList { get; set; }

Toggles the enabled state of the Chip item.

C#
public bool? Enabled { get; set; }

Defines custom attributes of the Chip's element.

C#
public IDictionary<string, object> HtmlAttributes { get; set; }
C#
public string Icon { get; set; }

If set, value will be appended to the icon's element class attribute.

C#
public string IconClass { get; set; }

Defines the name for an existing icon in a Kendo UI theme or SVG content. The icon is rendered inside the chip by a span.k-icon or span.k-svg-icon element.See web font icons help article for more details on Kendo UI icons.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

C#
public ChipListItemIconSettings IconSettings { get; }

The label text of the chip. Default is empty string.

C#
public string Label { get; set; }

Toggles the selected state of the Chip.

C#
public bool? Selected { get; set; }

Sets the color of the component according to the applied theme.

C#
public ChipThemeColor? ThemeColor { get; set; }

Methods

Serialize current instance to Dictionary

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>