Defines the fluent API for configuring the ToolBarItemButton settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ToolBarItemButtonBuilder
Inheritance: objectToolBarItemButtonBuilder
Inherited Members
Constructors
Methods
Specifies the click event handler of the button. Applicable only for the children of a ButtonGroup.
public ToolBarItemButtonBuilder Click(string handler)
The value that configures the click action.
Returns:Specifies whether the button is initially enabled or disabled.
public ToolBarItemButtonBuilder Enable(bool value)
The value that configures the enable.
Returns:Assigns the button to a group. Applicable only for the children of a ButtonGroup that has togglable true.
public ToolBarItemButtonBuilder Group(string value)
The value that configures the group.
Returns:Determines if the button is visible or hidden. By default the buttons are visible.
public ToolBarItemButtonBuilder Hidden(bool value)
The value that configures the hidden.
Returns:Specifies the HTML attributes of a ButtonGroup's button.
public ToolBarItemButtonBuilder HtmlAttributes(IDictionary<string, object> value)
The value that configures the htmlattributes.
Returns:Specifies the HTML attributes of a ButtonGroup's button.
public ToolBarItemButtonBuilder HtmlAttributes(object value)
The value that configures the htmlattributes.
Returns:Sets icon for the menu button. The icon should be one of the existing in the Kendo UI theme sprite.
public ToolBarItemButtonBuilder Icon(string value)
The value that configures the icon.
Returns:Specifies the ID of the button.
public ToolBarItemButtonBuilder Id(string value)
The value that configures the id.
Returns:If set, the ToolBar will render an image with the specified URL in the button.
public ToolBarItemButtonBuilder ImageUrl(string value)
The value that configures the imageurl.
Returns:Specifies if the toggle button is initially selected. Applicable only for the children of a ButtonGroup that has togglable true.
public ToolBarItemButtonBuilder Selected(bool value)
The value that configures the selected.
Returns:Specifies where the icon of the button will be displayed. Applicable only for the children of a ButtonGroup.
public ToolBarItemButtonBuilder ShowIcon(ShowIn value)
The value that configures the showicon.
Returns:Specifies where the text of the menu button will be displayed. Applicable only for the buttons of a ButtonGroup.
public ToolBarItemButtonBuilder ShowText(ShowIn value)
The value that configures the showtext.
Returns:Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.
public ToolBarItemButtonBuilder SpriteCssClass(string value)
The value that configures the spritecssclass.
Returns:Specifies the text of the menu button.
public ToolBarItemButtonBuilder Text(string value)
The value that configures the text.
Returns:Specifies if the button is togglable, e.g. has a selected and unselected state. Applicable only for the children of a ButtonGroup.
public ToolBarItemButtonBuilder Togglable(bool value)
The value that configures the togglable.
Returns:Specifies the toggle event handler of the button. Applicable only for the children of a ButtonGroup.
public ToolBarItemButtonBuilder Toggle(string handler)
The value that configures the toggle action.
Returns:Specifies the url of the button to navigate to.
public ToolBarItemButtonBuilder Url(string value)
The value that configures the url.
Returns: