TreeViewItemBase
Represents a base class for TreeView items.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
public class TreeViewItemBase
Inheritance: objectTreeViewItemBase
Inherited Members
Constructors
public TreeViewItemBase()
Properties
Specifies whether the item is initially checked. True by default.
public bool? Checked { get; set; }
Specifies the attributes added to the content element of the item.
public IDictionary<string, object> ContentHtmlAttributes { get; set; }
Specifies whether the item is initially enabled. True by default.
public bool? Enabled { get; set; }
Specifies whether the item is initially expanded
public bool? Expanded { get; set; }
Specifies whether the item has children
public bool? HasChildren { get; set; }
Specifies the attributes added to the item
public IDictionary<string, object> HtmlAttributes { get; set; }
Specifies the attributes added to the item's image.
public IDictionary<string, object> ImageHtmlAttributes { get; set; }
Specifies the URL of the image displayed by the item
public string ImageUrl { get; set; }
Defines the child items of the current item.
public IEnumerable<TreeViewItemBase> Items { get; set; }
Specifies the attributes added to the item's element
public IDictionary<string, object> LinkHtmlAttributes { get; set; }
Specifies whether the item is initially selected
public bool? Selected { get; set; }
Specifies the class name for the sprite image displayed by the item
public string SpriteCssClass { get; set; }
Methods
Serializes the defined settings.