Edit this page

Kendo.Mvc.UI.Fluent.ToolBarItemButtonBuilder

Defines the fluent API for configuring the ToolBarItemButton settings.

Methods

HtmlAttributes(System.Object)

Specifies the HTML attributes of a ButtonGroup's button.

Parameters

value System.Object

The value that configures the htmlattributes.

HtmlAttributes(System.Collections.Generic.IDictionary<System.String,System.Object>)

Specifies the HTML attributes of a ButtonGroup's button.

Parameters

value System.Collections.Generic.IDictionary<System.String,System.Object>

The value that configures the htmlattributes.

Click(System.Func<System.Object,System.Object>)

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

Parameters

handler System.Func<System.Object,System.Object>

The value that configures the click action.

Click(System.String)

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

Parameters

handler System.String

The value that configures the click action.

Enable(System.Boolean)

Specifies whether the button is initially enabled or disabled.

Parameters

value System.Boolean

The value that configures the enable.

Group(System.String)

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

Parameters

value System.String

The value that configures the group.

Hidden(System.Boolean)

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

Parameters

value System.Boolean

The value that configures the hidden.

Icon(System.String)

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

Parameters

value System.String

The value that configures the icon.

Id(System.String)

Specifies the ID of the button.

Parameters

value System.String

The value that configures the id.

ImageUrl(System.String)

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

Parameters

value System.String

The value that configures the imageurl.

Selected(System.Boolean)

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

Parameters

value System.Boolean

The value that configures the selected.

SpriteCssClass(System.String)

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

Parameters

value System.String

The value that configures the spritecssclass.

Toggle(System.Func<System.Object,System.Object>)

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

Parameters

handler System.Func<System.Object,System.Object>

The value that configures the toggle action.

Toggle(System.String)

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

Parameters

handler System.String

The value that configures the toggle action.

Togglable(System.Boolean)

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

Parameters

value System.Boolean

The value that configures the togglable.

Text(System.String)

Specifies the text of the menu button.

Parameters

value System.String

The value that configures the text.

Url(System.String)

Specifies the url of the button to navigate to.

Parameters

value System.String

The value that configures the url.

ShowText(Kendo.Mvc.UI.ShowIn)

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

Parameters

value Kendo.Mvc.UI.ShowIn

The value that configures the showtext.

ShowIcon(Kendo.Mvc.UI.ShowIn)

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

Parameters

value Kendo.Mvc.UI.ShowIn

The value that configures the showicon.