Kendo.Mvc.UI.ToolBarItemButton

Kendo UI ToolBarItemButton class

Properties

HtmlAttributes

Specifies the HTML attributes of a ButtonGroup's button.

Click

Specifies the click event handler of the button. Applicable only for the children of a ButtonGroup.

Enable

Specifies whether the button is initially enabled or disabled.

Group

Assigns the button to a group. Applicable only for the children of a ButtonGroup that has togglable true.

Hidden

Determines if the button is visible or hidden. By default the buttons are visible.

Icon

Sets icon for the menu button. The icon should be one of the existing in the Kendo UI theme sprite.

Id

Specifies the ID of the button.

ImageUrl

If set, the ToolBar will render an image with the specified URL in the button.

Selected

Specifies if the toggle button is initially selected. Applicable only for the children of a ButtonGroup that has togglable true.

SpriteCssClass

Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.

Toggle

Specifies the toggle event handler of the button. Applicable only for the children of a ButtonGroup.

Togglable

Specifies if the button is togglable, e.g. has a selected and unselected state. Applicable only for the children of a ButtonGroup.

Text

Specifies the text of the menu button.

Url

Specifies the url of the button to navigate to.

ShowText

Specifies where the text of the menu button will be displayed. Applicable only for the buttons of a ButtonGroup.

ShowIcon

Specifies where the icon of the button will be displayed. Applicable only for the children of a ButtonGroup.

Methods

SerializeSettings

Serialize current instance to Dictionary