ChipListItemBuilder
Defines the fluent API for configuring ChipListItem
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChipListItemBuilder
Inheritance: objectChipListItemBuilder
Inherited Members
Constructors
ChipListItemBuilder method.
Properties
Gets the settings being configured.
protected ChipListItem Container { get; }
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.
public ChipListItemBuilder AvatarClass(string value)
The value for AvatarClass
Returns:Returns the current ChipListItemBuilder instance.
Toggles the enabled state of the Chip item.
public ChipListItemBuilder Enabled(bool value)
The value for Enabled
Returns:Returns the current ChipListItemBuilder instance.
Defines custom attributes of the Chip's element.
public ChipListItemBuilder HtmlAttributes(IDictionary<string, object> value)
The value for HtmlAttributes
Returns:Returns the current ChipListItemBuilder instance.
Defines custom attributes of the Chip's element.
public ChipListItemBuilder HtmlAttributes(object value)
The value for HtmlAttributes
Returns:Returns the current ChipListItemBuilder instance.
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.
public ChipListItemBuilder Icon(Action<ChipListItemIconSettingsBuilder> configurator)
The ChipListItemIconSettingsBuilder for the icon setting.
Returns:Returns the current instance of 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.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.
public ChipListItemBuilder Icon(string icon)
The icon.
Returns:Returns the current instance of ChipListItemBuilder .
If set, value will be appended to the icon's element class attribute.
public ChipListItemBuilder IconClass(string value)
The value for IconClass
Returns:Returns the current ChipListItemBuilder instance.
The label text of the chip. Default is empty string.
public ChipListItemBuilder Label(string value)
The value for Label
Returns:Returns the current ChipListItemBuilder instance.
Toggles the selected state of the Chip.
Toggles the selected state of the Chip.
public ChipListItemBuilder Selected(bool value)
The value for Selected
Returns:Returns the current ChipListItemBuilder instance.
Sets the color of the component according to the applied theme.
public ChipListItemBuilder ThemeColor(ChipThemeColor value)
The value for ThemeColor
Returns:Returns the current ChipListItemBuilder instance.