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

Gets or sets the DropDownTreeItemBase.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DropDownTreeItemBase

Inheritance: objectDropDownTreeItemBase

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

Constructors

C#
public DropDownTreeItemBase()

Properties

Specifies the content URL for the item

C#
public string ContentUrl { get; set; }

Specifies whether the item is initially enabled. True by default.

C#
public bool? Enabled { get; set; }

Specifies whether the items text should be encoded.

C#
public bool? Encoded { get; set; }

Specifies whether the item is initially expanded

C#
public bool? Expanded { get; set; }

Specifies whether the item has children

C#
public bool? HasChildren { get; set; }

The HTML attributes of the item that is rendered for the node.

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

Specifies the class name for the sprite image displayed by the item

C#
public string IconClass { get; set; }

Specifies the URL of the image displayed by the item

C#
public string ImageUrl { get; set; }

Specifies the child items of the current item.

C#
public IEnumerable<DropDownTreeItemBase> Items { get; set; }

Specifies whether the item is initially selected

C#
public bool? Selected { get; set; }

Specifies the text displayed by the item

C#
public string Text { get; set; }

Specifies the URL that the item will link to. Used for navigational trees.

C#
public string Url { get; set; }

Specifies the text displayed by the item

C#
public string Value { get; set; }

Methods

ConvertToTagHelper method.

C#
public DropDownTreeItemTagHelper ConvertToTagHelper()
Returns:

DropDownTreeItemTagHelper