# ButtonGroup

## Example

```
<kendo-buttongroup>
    <buttongroup-items></buttongroup-items>
</kendo-buttongroup>
```

## ChildTags

| Tag Name          | Details                                                                                                                              |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| buttongroup-items | [ButtonGroupItemsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/buttongroupitemstaghelper) |

## Attributes

| Attribute             | Type                                                                                                   | Description                                                                                                                                                                                                                                                                                                               |
| --------------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| name                  | String                                                                                                 | Sets the name of the component.                                                                                                                                                                                                                                                                                           |
| enable                | Boolean                                                                                                | Defines if the widget is initially enabled or disabled. By default, it is enabled.                                                                                                                                                                                                                                        |
| fill-mode             | [ButtonFillMode](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/buttonfillmode) | Sets a value controlling how the color is applied.                                                                                                                                                                                                                                                                        |
| index                 | Double                                                                                                 | Defines the initially selected Button (zero based index).                                                                                                                                                                                                                                                                 |
| on-kendo-keydown      | String                                                                                                 | The name of the JavaScript function that will handle the kendoKeydown event. Triggered when the user presses a keyboard key while the ButtonGroup is focused.The event handler function context (available via the this keyword) will be set to the widget instance.                                                      |
| on-select             | String                                                                                                 | The name of the JavaScript function that will handle the select event. Fires when a Button is selected.                                                                                                                                                                                                                   |
| rounded               | [Rounded](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/rounded)               | Sets a value controlling the border radius.                                                                                                                                                                                                                                                                               |
| script-attributes     | IDictionary\<String,Object>                                                                            | Sets the attributes that will be added to the script tag of the component's initialization script.                                                                                                                                                                                                                        |
| selection             | String                                                                                                 | Defines the selection type. Allows the following values: single (default): allows only a single button to be the currently selected in the group.; multiple: allows multiple buttons to be selected in the group at the same time. or none: does not allow selection. ButtonGroups acts as a group of clickable Buttons.. |
| size                  | [ComponentSize](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/componentsize)   | Sets the size of the component.                                                                                                                                                                                                                                                                                           |
| theme-color           | [ThemeColor](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/themecolor)         | Sets the color of the component according to the applied theme.                                                                                                                                                                                                                                                           |
| is-in-client-template | Boolean                                                                                                | When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.                                                                                                                                                                                          |
| deferred              | Boolean                                                                                                | Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.                                                                                                                                                                                               |
| as-module             | Boolean                                                                                                | Specifies whether the initialization script of the component will be rendered as a JavaScript module.                                                                                                                                                                                                                     |
