ChipList
Class
Kendo UI ChipList component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class ChipList : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseChipList
Implements:
Inherited Members
Constructors
Initializes a new instance of the ChipList class.
C#
public ChipList(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
The view context
initializerIJavaScriptInitializerThe JavaScriptInitializer
urlGeneratorIUrlGeneratorThe URL generator.
Properties
Sets a value controlling how the color is applied.
C#
public ChipFillMode? FillMode { get; set; }
The configurations of the different chips inside the chiplist.
C#
public List<ChipListItem> Items { get; set; }
Specifies the size of the chip.
C#
public ComponentSize? ItemSize { get; set; }
Specifies if the Chip items will be removable or not. If the property is set to true, the Chip renders a remove icon.
C#
public bool? Removable { get; set; }
Sets the selection mode of the ChipList.
C#
public ChipListSelectableMode? Selectable { get; set; }
Specifies the gap between the Chips in the ChipList.
C#
public ComponentSize? Size { get; set; }
Methods
C#
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
C#
protected override void WriteHtml(HtmlTextWriter writer)
The HtmlTextWriter.
Overrides:
Writes the initialization script.
C#
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: