ButtonGroupItemTagHelper
Example
Razor
<item>
<badge></badge>
<icon />
</item>
ChildTags
| Tag Name | Details |
|---|---|
| badge | ButtonGroupItemBadgeSettingsTagHelper |
| icon | ButtonGroupItemIconSettingsTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| badge | 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. |
| enabled | Boolean | Specifies if a button is enabled. |
| encoded | Boolean | Specifies if text field of the ButtonGroup item should be encoded. |
| end-icon | String | Defines the name of an existing icon in a Kendo theme that is rendered after the text of the item. |
| html-attributes | IDictionary<String,Object> | Specifies the HTML attributes of a ButtonGroup item. |
| icon | String | Defines the name of an existing icon in a Kendo theme.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons. |
| icon-class | String | Allows the usage of custom icons. Defines CSS classes which are to be applied to a span element inside the ButtonGroup item. |
| image-url | String | If set, the ButtonGroup will render an image with the specified URL in the button. |
| selected | Boolean | Specifies if a button is initially selected. |
| text | String | Specifies the text of the ButtonGroup item. |