Kendo.Mvc.UI.Fluent.ButtonGroupItemBuilder

Defines the fluent API for configuring ButtonGroupItem

Methods

Badge(System.String)

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

value System.String

Sets the value of the badge.

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

Specifies the HTML attributes of a ButtonGroup item.

Parameters

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

The value for HtmlAttributes

HtmlAttributes(System.Object)

Specifies the HTML attributes of a ButtonGroup item.

Parameters

value System.Object

The value for HtmlAttributes

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

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.ButtonGroupItemBadgeSettingsBuilder>

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.

Enabled(System.Boolean)

Specifies if a button is enabled.

Parameters

value System.Boolean

The value for Enabled

Icon(System.String)

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

Parameters

value System.String

The value for 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 for IconClass

ImageUrl(System.String)

If set, the ButtonGroup will render an image with the specified URL in the button.

Parameters

value System.String

The value for ImageUrl

Selected(System.Boolean)

Specifies if a button is initially selected.

Parameters

value System.Boolean

The value for Selected

Selected

Specifies if a button is initially selected.

Text(System.String)

Specifies the text of the ButtonGroup item.

Parameters

value System.String

The value for Text

Encoded(System.Boolean)

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

Parameters

value System.Boolean

The value for Encoded

In this article
Not finding the help you need?