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