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

Used for serializing DropDownTreeItem objects.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DropDownTreeItemModel : IHierarchicalItem

Inheritance: objectDropDownTreeItemModel

Implements: IHierarchicalItem

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the DropDownTreeItemModel class.

C#
public DropDownTreeItemModel()

Properties

Indicates whether the item is checked or not.

C#
public bool Checked { get; set; }

Indicates whether the item is enabled.

C#
public bool Enabled { get; set; }

Indicates whether the item is encoded.

C#
public bool Encoded { get; set; }

Indicates whether the item is expanded.

C#
public bool Expanded { get; set; }

Implements: IHierarchicalItem.Expanded

Indicates whether the item has children.

C#
public bool HasChildren { get; set; }

Implements: IHierarchicalItem.HasChildren

Gets or sets Dictionary of HTML attributes applied to the item.

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

Gets or sets the item ID.

C#
public string Id { get; set; }

Implements: IHierarchicalItem.Id

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 item image URL.

C#
public string ImageUrl { get; set; }

Gets or sets the nested items collection of the item.

C#
public List<DropDownTreeItemModel> 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; }

Indicates whether the item is selected.

C#
public bool Selected { get; set; }

Gets or sets the item sprite CSS class.

C#
public string SpriteCssClass { get; set; }

Gets or sets the item text.

C#
public string Text { get; set; }

Gets or sets the URL that the item navigates to on click.

C#
public string Url { get; set; }

Gets or sets the item text.

C#
public string Value { get; set; }