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

Kendo UI ChipList component

Definition

Constructors

Initializes a new instance of the ChipList class.

C#
public ChipList(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
Parameters:viewContextViewContext

The view context

initializerIJavaScriptInitializer

The JavaScriptInitializer

urlGeneratorIUrlGenerator

The 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 a value controlling the border radius.

C#
public Rounded? Rounded { 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()
Returns:

IDictionary<string, object>

Overrides: WidgetBase.Serialize()

Writes the HTML.

C#
protected override void WriteHtml(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

The HtmlTextWriter.

Overrides: WidgetBase.WriteHtml(HtmlTextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)