ChipBuilder
Defines the fluent API for configuring the Kendo Chip for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChipBuilder : WidgetBuilderBase<Chip, ChipBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<Chip, ChipBuilder>ChipBuilder
Implements:
Inherited Members
Constructors
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 ChipBuilder AvatarClass(string value)
The value that configures the avatarclass.
Returns:Toggles the enabled state of the Chip.
public ChipBuilder Enabled(bool value)
The value that configures the enabled.
Returns:Configures the client-side events.
public ChipBuilder Events(Action<ChipEventBuilder> configurator)
The client events action.
Returns:Sets a value controlling how the color is applied.
public ChipBuilder FillMode(ChipFillMode value)
The value that configures the fillmode.
Returns: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.
public ChipBuilder Icon(Action<ChipIconSettingsBuilder> configurator)
The action that configures the icon.
Returns: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.
If set, value will be appended to the icon's element class attribute.
public ChipBuilder IconClass(string value)
The value that configures the iconclass.
Returns:The label text of the chip. Default is empty string.
public ChipBuilder Label(string value)
The value that configures the label.
Returns:Specifies if the Chip will be removable or not. If the property is set to true, the Chip renders a remove icon.
public ChipBuilder Removable(bool value)
The value that configures the removable.
Returns:Defines the name for an existing icon in a Kendo UI theme or SVG content for the remove button when removable=true. 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.
public ChipBuilder RemoveIcon(Action<ChipRemoveIconSettingsBuilder> configurator)
The action that configures the removeicon.
Returns:Defines the name for an existing icon in a Kendo UI theme or SVG content for the remove button when removable=true. 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.
If set, value will be appended to the remove icon's element class attribute.
public ChipBuilder RemoveIconClass(string value)
The value that configures the removeiconclass.
Returns:Sets a value controlling the border radius.
public ChipBuilder Rounded(Rounded value)
The value that configures the rounded.
Returns:Sets whether the Chip can be selected.
public ChipBuilder Selectable(bool value)
The value that configures the selectable.
Returns:Toggles the selected state of the Chip.
public ChipBuilder Selected(bool value)
The value that configures the selected.
Returns:Sets the size of the component.
public ChipBuilder Size(ComponentSize value)
The value that configures the size.
Returns:Sets the color of the component according to the applied theme.
public ChipBuilder ThemeColor(ChipThemeColor value)
The value that configures the themecolor.
Returns: