Defines the fluent API for configuring the ButtonGroupItem settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ButtonGroupItemBuilder
Inheritance: objectButtonGroupItemBuilder
Inherited Members
Constructors
Methods
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.
public ButtonGroupItemBuilder Badge(Action<ButtonGroupItemBadgeBuilder> configurator)
The configurator for the badge setting.
Returns: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.
public ButtonGroupItemBuilder Badge(bool enabled)
Enables or disables the badge option.
Returns: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.
public ButtonGroupItemBuilder Badge(string value)
The value of the badge.
Returns:Enables or disables the item. Disabled item cannot be clicked.
public ButtonGroupItemBuilder Enabled(bool value)
The boolean value that configures the Enabled configuration.
Returns:Specifies if text field of the ButtonGroup item should be encoded.
public ButtonGroupItemBuilder Encoded(bool value)
The value that configures whether text should be encoded.
Returns:Sets the HTML attributes.
public virtual ButtonGroupItemBuilder HtmlAttributes(IDictionary<string, object> attributes)
The HTML attributes.
Returns:Sets the HTML attributes.
public virtual ButtonGroupItemBuilder HtmlAttributes(object attributes)
The HTML attributes.
Returns:Defines the name of an existing icon in a Kendo theme.
public ButtonGroupItemBuilder Icon(string value)
The value that configures the icon.
Returns:Allows the usage of custom icons. Defines CSS classes which are to be applied to a span element inside the ButtonGroup item
public ButtonGroupItemBuilder IconClass(string value)
The value that configures the custom icon.
Returns:Selects or unselects the item. By default items are not selected.
public ButtonGroupItemBuilder Selected(bool value)
The boolean value that configures the Selected configuration.
Returns:Specifies the text of the item
public ButtonGroupItemBuilder Text(string value)
The value that configures the text.
Returns: