# ToolBarItemButtonTagHelper

## Example

```
<toolbar-button>
    <icon />
</toolbar-button>
```

## ChildTags

| Tag Name | Details                                                                                                                                                        |
| -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| icon     | [ToolBarItemButtonIconSettingsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/toolbaritembuttoniconsettingstaghelper) |

## Attributes

| Attribute        | Type                                                                                   | Description                                                                                                                                                                                                                                                                                      |
| ---------------- | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| click            | String                                                                                 | Specifies the click event handler of the button. Applicable only for the children of a ButtonGroup.                                                                                                                                                                                              |
| enable           | Boolean                                                                                | Specifies whether the button is initially enabled or disabled.                                                                                                                                                                                                                                   |
| group            | String                                                                                 | Assigns the button to a group. Applicable only for the children of a ButtonGroup that has togglable true.                                                                                                                                                                                        |
| hidden           | Boolean                                                                                | Determines if the button is visible or hidden. By default the buttons are visible.                                                                                                                                                                                                               |
| html-attributes  | Object                                                                                 | Specifies the HTML attributes of a ToolBar button.                                                                                                                                                                                                                                               |
| icon             | String                                                                                 | Sets icon for the menu button. The icon should be one of the existing in the Kendo UI theme sprite.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. |
| id               | String                                                                                 | Specifies the ID of the button.                                                                                                                                                                                                                                                                  |
| image-url        | String                                                                                 | If set, the ToolBar will render an image with the specified URL in the button.                                                                                                                                                                                                                   |
| selected         | Boolean                                                                                | Specifies if the toggle button is initially selected. Applicable only for the children of a ButtonGroup that has togglable true.                                                                                                                                                                 |
| show-icon        | [ShowIn](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/showin) | Specifies where the icon of the button will be displayed. Applicable only for the children of a ButtonGroup.                                                                                                                                                                                     |
| show-text        | [ShowIn](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/showin) | Specifies where the text of the menu button will be displayed. Applicable only for the buttons of a ButtonGroup.                                                                                                                                                                                 |
| sprite-css-class | String                                                                                 | Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.                                                                                                                                                                                                |
| text             | String                                                                                 | Specifies the text of the menu button.                                                                                                                                                                                                                                                           |
| togglable        | Boolean                                                                                | Specifies if the button is togglable, e.g. has a selected and unselected state. Applicable only for the children of a ButtonGroup.                                                                                                                                                               |
| toggle           | String                                                                                 | Specifies the toggle event handler of the button. Applicable only for the children of a ButtonGroup.                                                                                                                                                                                             |
| url              | String                                                                                 | Specifies the url of the button to navigate to.                                                                                                                                                                                                                                                  |
