Defines the fluent API for configuring the DropDownButtonItem settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class DropDownButtonItemBuilder
Inheritance: objectDropDownButtonItemBuilder
Inherited Members
Constructors
Initialize the DropDownButtonItemBuilder
public DropDownButtonItemBuilder(DropDownButtonItem settings)
Methods
Adds unique click callback for the menu item.
public DropDownButtonItemBuilder 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 DropDownButtonItemBuilder Data(string handler)
The value that configures the data action.
Returns:Toggles the enabled state of the item.
public DropDownButtonItemBuilder Enabled(bool value)
The value that configures the enabled.
Returns:Indicates wether the item should hidden.
public DropDownButtonItemBuilder Hidden(bool value)
The value that configures the hidden.
Returns:Adds custom attributes to the LI element of the menu button.
public DropDownButtonItemBuilder HtmlAttributes(IDictionary<string, object> value)
The value that configures the htmlattributes.
Returns:Adds custom attributes to the LI element of the menu button.
public DropDownButtonItemBuilder HtmlAttributes(object value)
The value that configures the htmlattributes.
Returns:Specifies the icon of the item.
public DropDownButtonItemBuilder Icon(string value)
The value that configures the icon.
Returns:Specifies the id of the item.
public DropDownButtonItemBuilder Id(string value)
The value that configures the id.
Returns:Specifies the image of the item.
public DropDownButtonItemBuilder ImageUrl(string value)
The value that configures the imageurl.
Returns:Specifies custom css class added to the srite icon element of the item.
public DropDownButtonItemBuilder 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 DropDownButtonItemBuilder 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 DropDownButtonItemBuilder Url(string value)
The value that configures the url.
Returns: