New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the DropDownButtonItem settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DropDownButtonItem : JsonObject

Inheritance: objectJsonObjectDropDownButtonItem

Inherited Members JsonObject.ToJson()object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initialization for the DropDownButtonItem

C#
public DropDownButtonItem()

Properties

Adds unique click callback for the menu item.

C#
public ClientHandlerDescriptor Click { get; set; }

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

C#
public ClientHandlerDescriptor Data { get; set; }

Toggles the enabled state of the item.

C#
public bool? Enabled { get; set; }

Indicates wether the item should hidden.

C#
public bool? Hidden { get; set; }

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

C#
public IDictionary<string, object> HtmlAttributes { get; set; }

Specifies the icon of the item.

C#
public string Icon { get; set; }

Specifies the id of the item.

C#
public string Id { get; set; }

Specifies the image of the item.

C#
public string ImageUrl { get; set; }

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

C#
public string SpriteCssClass { get; set; }

Specifies the text of the item.

C#
public string Text { get; set; }

Specifies the url of the item - it will render a element and will navigate the browser on click.

C#
public string Url { get; set; }

Methods

Serialize current instance to Dictionary

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)