ToolBarItemButtonTagHelper
Example
Razor
<toolbar-button>
</toolbar-button>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. | 
| 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 | Specifies where the icon of the button will be displayed. Applicable only for the children of a ButtonGroup. | 
| show-text | 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. |