Kendo.Mvc.UI.Fluent.ButtonGroupItemBuilder

Defines the fluent API for configuring the ButtonGroupItem settings.

Methods

Icon(System.String)

Defines the name of an existing icon in a Kendo theme.

Parameters

value System.String

The value that configures the icon.

IconClass(System.String)

Allows the usage of custom icons. Defines CSS classes which are to be applied to a span element inside the ButtonGroup item

Parameters

value System.String

The value that configures the custom icon.

Encoded(System.Boolean)

Specifies if text field of the ButtonGroup item should be encoded.

Parameters

value System.Boolean

The value that configures whether text should be encoded.

Text(System.String)

Specifies the text of the item

Parameters

value System.String

The value that configures the text.

Badge(System.String)

Specifies the value shown in badge icon

Parameters

value System.String

The value that configures the badge.

Selected(System.Boolean)

Selects or unselects the item. By default items are not selected.

Enabled(System.Boolean)

Enables or disables the item. Disabled item cannot be clicked.

HtmlAttributes(System.Object)

Sets the HTML attributes.

Parameters

attributes System.Object

The HTML attributes.

HtmlAttributes(System.Collections.Generic.IDictionary<System.String,System.Object>)

Sets the HTML attributes.

Parameters

attributes System.Collections.Generic.IDictionary<System.String,System.Object>

The HTML attributes.