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

Defines the fluent API for configuring the DrawerItem settings.

Definition

Constructors

Initialization for the DrawerItem

C#
public DrawerItem()

Properties

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

Defines the class names of the generated item element.

C#
public string CssClass { get; set; }

Toggles the enabled state of the item.

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

Toggles the initial expanded state of the item. When set to true, the item starts expanded and its child items are visible. Clicking a parent item toggles expand and collapse regardless of this setting.

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

Defines the name for an existing icon in a Kendo UI theme.See web font icons help article for more details on Kendo UI icons.

C#
public string Icon { get; set; }
C#
public List<DrawerItem> Items { get; set; }

The handler for the MiniTemplate

C#
public string MiniTemplateHandler { get; set; }

Toggles the selected state of the item.

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

Defines a separator item. When set to true, the Drawer renders a separator instead of a clickable item.

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

The handler for the Template

C#
public string TemplateHandler { get; set; }

Defines the text of the item. If not set, the generated item renders no text.

C#
public string Text { 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>)