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

Defines the fluent API for configuring the ChipListItem settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChipListItemBuilder

Inheritance: objectChipListItemBuilder

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

Constructors

Initialize the ChipListItemBuilder

C#
public ChipListItemBuilder(ChipListItem settings)
Parameters:settingsChipListItem

The ChipListItem

Methods

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 ChipListItemBuilder AvatarClass(string value)
Parameters:valuestring

The value that configures the avatarclass.

Returns:

ChipListItemBuilder

Toggles the enabled state of the Chip item.

C#
public ChipListItemBuilder Enabled(bool value)
Parameters:valuebool

The value that configures the enabled.

Returns:

ChipListItemBuilder

Defines custom attributes of the Chip's element.

C#
public ChipListItemBuilder HtmlAttributes(IDictionary<string, object> value)
Parameters:valueIDictionary<string, object>

The value that configures the htmlattributes.

Returns:

ChipListItemBuilder

Defines custom attributes of the Chip's element.

C#
public ChipListItemBuilder HtmlAttributes(object value)
Parameters:valueobject

The value that configures the htmlattributes.

Returns:

ChipListItemBuilder

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.

C#
public ChipListItemBuilder Icon(string value)
Parameters:valuestring

The value that configures the icon.

Returns:

ChipListItemBuilder

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

C#
public ChipListItemBuilder IconClass(string value)
Parameters:valuestring

The value that configures the iconclass.

Returns:

ChipListItemBuilder

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

C#
public ChipListItemBuilder Label(string value)
Parameters:valuestring

The value that configures the label.

Returns:

ChipListItemBuilder

Toggles the selected state of the Chip.

C#
public ChipListItemBuilder Selected(bool value)
Parameters:valuebool

The value that configures the selected.

Returns:

ChipListItemBuilder

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

C#
public ChipListItemBuilder ThemeColor(ChipThemeColor value)
Parameters:valueChipThemeColor

The value that configures the themecolor.

Returns:

ChipListItemBuilder