Defines the fluent API for configuring the SplitButtonItem settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SplitButtonItemBuilder
Inheritance: objectSplitButtonItemBuilder
Inherited Members
Constructors
Initialize the SplitButtonItemBuilder
public SplitButtonItemBuilder(SplitButtonItem settings)
The SplitButtonItem
Methods
Adds unique click callback for the menu item.
public SplitButtonItemBuilder Click(string handler)
The value that configures the click action.
Returns:Adds a custom data callback to be added to the context of menu item - useful to attach context dynamically.
public SplitButtonItemBuilder Data(string handler)
The value that configures the data action.
Returns:Toggles the enabled state of the item.
public SplitButtonItemBuilder Enabled(bool value)
The value that configures the enabled.
Returns:Indicates wether the item should hidden.
public SplitButtonItemBuilder Hidden(bool value)
The value that configures the hidden.
Returns:Adds custom attributes to the LI element of the menu button.
public SplitButtonItemBuilder HtmlAttributes(IDictionary<string, object> value)
The value that configures the htmlattributes.
Returns:Adds custom attributes to the LI element of the menu button.
public SplitButtonItemBuilder HtmlAttributes(object value)
The value that configures the htmlattributes.
Returns:Specifies the icon of the item.
public SplitButtonItemBuilder Icon(string value)
The value that configures the icon.
Returns:Specifies the id of the item.
public SplitButtonItemBuilder Id(string value)
The value that configures the id.
Returns:Specifies the image of the item.
public SplitButtonItemBuilder ImageUrl(string value)
The value that configures the imageurl.
Returns:Specifies the custom CSS class that is added to the sprite icon element of the item.
public SplitButtonItemBuilder SpriteCssClass(string value)
The value that configures the spritecssclass.
Returns:Specifies the text of the item. ### items.url StringSpecifies the url of the item - it will render a element and will navigate the browser on click.
public SplitButtonItemBuilder Text(string value)
The value that configures the text.
Returns:Specifies the url of the item - it will render a element and will navigate the browser on click.
public SplitButtonItemBuilder Url(string value)
The value that configures the url.
Returns: