New to Telerik UI for ASP.NET Core? Download free 30-day trial

Kendo.Mvc.UI.Fluent.DropDownButtonItemBuilder

Defines the fluent API for configuring DropDownButtonItem

Methods

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

Adds custom attributes to the LI element of the menu button.

Parameters

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

The value for HtmlAttributes

HtmlAttributes(System.Object)

Adds custom attributes to the LI element of the menu button.

Parameters

value System.Object

The value for HtmlAttributes

Click(System.String)

Adds unique click callback for the menu item.

Parameters

handler System.String

The name of the JavaScript function that will be evaluated.

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

Adds unique click callback for the menu item.

Parameters

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

The handler code wrapped in a text tag.

Data(System.String)

Adds a custom data callback to be added to the context of menu item - useful to attach context dynamically.

Parameters

handler System.String

The name of the JavaScript function that will be evaluated.

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

Adds a custom data callback to be added to the context of menu item - useful to attach context dynamically.

Parameters

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

The handler code wrapped in a text tag.

Enabled(System.Boolean)

Toggles the enabled state of the item.

Parameters

value System.Boolean

The value for Enabled

Hidden(System.Boolean)

Indicates wether the item should hidden.

Parameters

value System.Boolean

The value for Hidden

Hidden

Indicates wether the item should hidden.

Icon(System.String)

Specifies the icon of the item.

Parameters

value System.String

The value for Icon

Id(System.String)

Specifies the id of the item.

Parameters

value System.String

The value for Id

ImageUrl(System.String)

Specifies the image of the item.

Parameters

value System.String

The value for ImageUrl

SpriteCssClass(System.String)

Specifies custom css class added to the srite icon element of the item.

Parameters

value System.String

The value for SpriteCssClass

Text(System.String)

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.

Parameters

value System.String

The value for Text

In this article
Not finding the help you need?