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

Represents an item from Kendo DropDownTree for ASP.NET MVC

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DropDownTreeItem : NavigationItem<DropDownTreeItem>, INavigatable, IHtmlAttributesContainer, IContentContainer, INavigationItemContainer<DropDownTreeItem>, IHierarchicalItem

Inheritance: objectLinkedObjectBase<DropDownTreeItem>NavigationItem<DropDownTreeItem>DropDownTreeItem

Implements: IContentContainerIHierarchicalItemIHtmlAttributesContainerINavigatableINavigationItemContainer<DropDownTreeItem>

Inherited Members NavigationItem<DropDownTreeItem>.RouteValuesNavigationItem<DropDownTreeItem>.HtmlAttributesNavigationItem<DropDownTreeItem>.ImageHtmlAttributesNavigationItem<DropDownTreeItem>.LinkHtmlAttributesNavigationItem<DropDownTreeItem>.ContentHtmlAttributesNavigationItem<DropDownTreeItem>.EncodedNavigationItem<DropDownTreeItem>.TemplateNavigationItem<DropDownTreeItem>.HtmlNavigationItem<DropDownTreeItem>.VisibleNavigationItem<DropDownTreeItem>.ImageUrlNavigationItem<DropDownTreeItem>.SpriteCssClassesNavigationItem<DropDownTreeItem>.ContentNavigationItem<DropDownTreeItem>.TextNavigationItem<DropDownTreeItem>.SelectedNavigationItem<DropDownTreeItem>.EnabledNavigationItem<DropDownTreeItem>.ControllerNameNavigationItem<DropDownTreeItem>.ActionNameNavigationItem<DropDownTreeItem>.RouteNameNavigationItem<DropDownTreeItem>.UrlNavigationItem<DropDownTreeItem>.RootLevelLinkedObjectBase<DropDownTreeItem>.ParentLinkedObjectBase<DropDownTreeItem>.PreviousSiblingLinkedObjectBase<DropDownTreeItem>.NextSiblingobject.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 DropDownTreeItem class.

C#
public DropDownTreeItem()

Properties

Indicates whether the item is checked or not.

C#
public bool Checked { 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 the item ID.

C#
public string Id { get; set; }

Implements: IHierarchicalItem.Id

Gets the nested items collection of the item.

C#
public IList<DropDownTreeItem> Items { get; }

Implements: INavigationItemContainer<DropDownTreeItem>.Items

Gets or sets the item Value.

C#
public string Value { get; set; }

Methods

Serizlizes the item properties to IDictionary<string, object>.

C#
public IDictionary<string, object> Serialize(UrlHelper urlHelper, string DataTextField, string DataValueField)
Parameters:urlHelperUrlHelperDataTextFieldstringDataValueFieldstringReturns:

IDictionary<string, object>