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

Defines the fluent API for configuring the Kendo ChipList for ASP.NET MVC.

Definition

Constructors

Initializes a new instance of the ChipList class.

C#
public ChipListBuilder(ChipList component)
Parameters:componentChipList

The component.

Methods

Configures the client-side events.

C#
public ChipListBuilder Events(Action<ChipListEventBuilder> configurator)
Parameters:configuratorAction<ChipListEventBuilder>

The client events action.

Returns:

ChipListBuilder

Example:
C#
@(Html.Kendo().ChipList()
.Name("ChipList")
.Events(events =&gt; events
.Select("onSelect")
)
)

Sets a value controlling how the color is applied.

C#
public ChipListBuilder FillMode(ChipFillMode value)
Parameters:valueChipFillMode

The value that configures the fillmode.

Returns:

ChipListBuilder

The configurations of the different chips inside the chiplist.

C#
public ChipListBuilder Items(Action<ChipListItemFactory> configurator)
Parameters:configuratorAction<ChipListItemFactory>

The action that configures the items.

Returns:

ChipListBuilder

Specifies the size of the chip.

C#
public ChipListBuilder ItemSize(ComponentSize value)
Parameters:valueComponentSize

The value that configures the itemsize.

Returns:

ChipListBuilder

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 ChipListBuilder Removable(bool value)
Parameters:valuebool

The value that configures the removable.

Returns:

ChipListBuilder

Sets a value controlling the border radius.

C#
public ChipListBuilder Rounded(Rounded value)
Parameters:valueRounded

The value that configures the rounded.

Returns:

ChipListBuilder

Sets the selection mode of the ChipList.

C#
public ChipListBuilder Selectable(ChipListSelectableMode value)
Parameters:valueChipListSelectableMode

The value that configures the selectable.

Returns:

ChipListBuilder

Specifies the gap between the Chips in the ChipList.

C#
public ChipListBuilder Size(ComponentSize value)
Parameters:valueComponentSize

The value that configures the size.

Returns:

ChipListBuilder