DrawerItem
Kendo UI DrawerItem class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class DrawerItem
Inheritance: objectDrawerItem
Inherited Members
Constructors
DrawerItem method.
public DrawerItem()
Properties
Attr member.
public IDictionary<string, object> Attr { get; set; }
Defines the class names of the generated item element.
public string CssClass { 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.
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.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public DrawerItemIconSettings IconSettings { get; }
Items member.
public List<DrawerItem> Items { get; set; }
Sets a custom template function for the item in mini mode. The implemented items surface supports function values only. The function must return the item markup used while the Drawer is collapsed in mini mode. If mini.template is configured, it takes precedence over items.miniTemplate.
public string MiniTemplateHandler { get; set; }
Defines a separator item. When set to true, the Drawer renders a separator instead of a clickable item.
public bool? Separator { get; set; }
Sets a custom template function for the item. The implemented items surface supports function values only. The function must return the item markup. If the top-level template option is configured, it takes precedence over items and per-item templates are not used.
public string TemplateHandler { get; set; }
Methods
Serialize current instance to Dictionary
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()