Defines the fluent API for configuring the ToolBarItemMenuButton settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ToolBarItemMenuButtonBuilder
Inheritance: objectToolBarItemMenuButtonBuilder
Inherited Members
Constructors
public ToolBarItemMenuButtonBuilder(ToolBarItemMenuButton settings)
Methods
Specifies whether the menu button is initially enabled or disabled.
public ToolBarItemMenuButtonBuilder Enable(bool value)
The value that configures the enable.
Returns:Determines if a button is visible or hidden. By default buttons are visible.
public ToolBarItemMenuButtonBuilder Hidden(bool value)
The value that configures the hidden.
Returns:Specifies the HTML attributes of a menu button.
public ToolBarItemMenuButtonBuilder HtmlAttributes(IDictionary<string, object> value)
The value that configures the htmlattributes.
Returns:Specifies the HTML attributes of a menu button.
public ToolBarItemMenuButtonBuilder HtmlAttributes(object value)
The value that configures the htmlattributes.
Returns:Sets icon for the menu buttons. The icon should be one of the existing in the Kendo UI theme sprite.
public ToolBarItemMenuButtonBuilder Icon(string value)
The value that configures the icon.
Returns:Specifies the ID of the menu buttons.
public ToolBarItemMenuButtonBuilder Id(string value)
The value that configures the id.
Returns:If set, the ToolBar will render an image with the specified URL in the menu button.
public ToolBarItemMenuButtonBuilder ImageUrl(string value)
The value that configures the imageurl.
Returns:Defines a CSS class (or multiple classes separated by spaces) which will be used for menu button icon.
public ToolBarItemMenuButtonBuilder SpriteCssClass(string value)
The value that configures the spritecssclass.
Returns:Specifies the text of the menu buttons.
public ToolBarItemMenuButtonBuilder Text(string value)
The value that configures the text.
Returns:Specifies the url of the menu button to navigate to.
public ToolBarItemMenuButtonBuilder Url(string value)
The value that configures the url.
Returns: