ToolBarItemButtonTagHelper

Example

Razor
<toolbar-button>
</toolbar-button>

Attributes

AttributeTypeDescription
clickStringSpecifies the click event handler of the button. Applicable only for the children of a ButtonGroup.
enableBooleanSpecifies whether the button is initially enabled or disabled.
groupStringAssigns the button to a group. Applicable only for the children of a ButtonGroup that has togglable true.
hiddenBooleanDetermines if the button is visible or hidden. By default the buttons are visible.
html-attributesObjectSpecifies the HTML attributes of a ToolBar button.
iconStringSets icon for the menu button. The icon should be one of the existing in the Kendo UI theme sprite.
idStringSpecifies the ID of the button.
image-urlStringIf set, the ToolBar will render an image with the specified URL in the button.
selectedBooleanSpecifies if the toggle button is initially selected. Applicable only for the children of a ButtonGroup that has togglable true.
show-iconShowInSpecifies where the icon of the button will be displayed. Applicable only for the children of a ButtonGroup.
show-textShowInSpecifies where the text of the menu button will be displayed. Applicable only for the buttons of a ButtonGroup.
sprite-css-classStringDefines a CSS class (or multiple classes separated by spaces) which will be used for button icon.
textStringSpecifies the text of the menu button.
togglableBooleanSpecifies if the button is togglable, e.g. has a selected and unselected state. Applicable only for the children of a ButtonGroup.
toggleStringSpecifies the toggle event handler of the button. Applicable only for the children of a ButtonGroup.
urlStringSpecifies the url of the button to navigate to.
In this article
ExampleAttributes
Not finding the help you need?
Contact Support