ButtonGroupItemBuilder
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)
Specifies the HTML attributes of a ButtonGroup item.
Parameters
value - System.Collections.Generic.IDictionary<String,Object>
The value for HtmlAttributes
RETURNS
Returns the current ButtonGroupItemBuilder instance.
HtmlAttributes(System.Object)
Specifies the HTML attributes of a ButtonGroup item.
Parameters
value - System.Object
The value for HtmlAttributes
RETURNS
Returns the current ButtonGroupItemBuilder instance.
Badge(System.Action)
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<ButtonGroupItemBadgeSettingsBuilder>
The configurator for the badge setting.
RETURNS
Returns the current instance of ButtonGroupItemBuilder .
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.
RETURNS
Returns the current instance of ButtonGroupItemBadgeSettingsBuilder .
Enabled(System.Boolean)
Specifies if a button is enabled.
Parameters
value - System.Boolean
The value for Enabled
RETURNS
Returns the current ButtonGroupItemBuilder instance.
Icon(System.String)
Defines the name of an existing icon in a Kendo theme.
Parameters
value - System.String
The value for Icon
RETURNS
Returns the current ButtonGroupItemBuilder instance.
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
RETURNS
Returns the current ButtonGroupItemBuilder instance.
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
RETURNS
Returns the current ButtonGroupItemBuilder instance.
Selected(System.Boolean)
Specifies if a button is initially selected.
Parameters
value - System.Boolean
The value for Selected
RETURNS
Returns the current ButtonGroupItemBuilder instance.
Selected()
Specifies if a button is initially selected.
RETURNS
Returns the current ButtonGroupItemBuilder instance.
Text(System.String)
Specifies the text of the ButtonGroup item.
Parameters
value - System.String
The value for Text
RETURNS
Returns the current ButtonGroupItemBuilder instance.
Encoded(System.Boolean)
Specifies if text field of the ButtonGroup item should be encoded.
Parameters
value - System.Boolean
The value for Encoded
RETURNS
Returns the current ButtonGroupItemBuilder instance.