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.

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.

Badge(System.Action<Kendo.Mvc.UI.Fluent.ButtonGroupItemBadgeBuilder>)

If set to true a default overlay badge will be displayed. If set to a string, an ovelay with content set to the specified string will be displayed. Can be set to a JavaScript object which represents the configuration of the Badge widget.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ButtonGroupItemBadgeBuilder>

The configurator for the badge setting.

Badge(System.Boolean)

If set to true a default overlay badge will be displayed. If set to a string, an ovelay with content set to the specified string will be displayed. Can be set to a JavaScript object which represents the configuration of the Badge widget.

Parameters

enabled System.Boolean

Enables or disables the badge option.

In this article
Not finding the help you need?