Used for serializing DropDownTreeItem objects.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class DropDownTreeItemModel : IHierarchicalItem
Inheritance: objectDropDownTreeItemModel
Implements:
Inherited Members
Constructors
Initializes a new instance of the DropDownTreeItemModel class.
public DropDownTreeItemModel()
Properties
Indicates whether the item is expanded.
public bool Expanded { get; set; }
Implements:
Indicates whether the item has children.
public bool HasChildren { get; set; }
Implements:
Gets or sets Dictionary<TKey, TValue> of HTML attributes applied to the item.
public IDictionary<string, string> HtmlAttributes { get; set; }
Gets or sets Dictionary<TKey, TValue> of HTML attributes applied to the image content of the item.
public IDictionary<string, string> ImageHtmlAttributes { get; set; }
Gets or sets the nested items collection of the item.
public List<DropDownTreeItemModel> Items { get; set; }
Gets or sets Dictionary<TKey, TValue> of HTML attributes applied to the link content of the item.
public IDictionary<string, string> LinkHtmlAttributes { get; set; }
Gets or sets the item sprite CSS class.
public string SpriteCssClass { get; set; }
Gets or sets the URL that the item navigates to on click.
public string Url { get; set; }