Skip to main content

TreeViewItemBuilder Methods

Represents a TreeView item.
Name Description
Disabled(JS) Specifies whether the UI component item responds to user interaction. Mirrors the client-side disabled option.
Disabled(Boolean) Specifies whether the UI component item responds to user interaction. Mirrors the client-side disabled option.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Expanded(JS) Specifies whether or not the tree view item is displayed expanded. Mirrors the client-side expanded option.
Expanded(Boolean) Specifies whether or not the tree view item is displayed expanded. Mirrors the client-side expanded option.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
HasItems(JS) Specifies whether or not the tree view item has children. Mirrors the client-side hasItems option.
HasItems(Boolean) Specifies whether or not the tree view item has children. Mirrors the client-side hasItems option.
Html(JS) Specifies the HTML markup to be inserted into the item element. Mirrors the client-side html option.
Html(String) Specifies the HTML markup to be inserted into the item element. Mirrors the client-side html option.
Icon(JS) Specifies the tree view item's icon. Mirrors the client-side icon option.
Icon(String) Specifies the tree view item's icon. Mirrors the client-side icon option.
Id(JS) Holds the unique key of an item. Mirrors the client-side id option.
Id(Double) Holds the unique key of an item. Mirrors the client-side id option.
Id(String) Holds the unique key of an item. Mirrors the client-side id option.
Items(Action<CollectionFactory<TreeViewItemBuilder>>) Provides access to the client-side items option that represents a TreeView item collection.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
ParentId(JS) Holds the key of the parent item. Mirrors the client-side parentId option.
ParentId(Double) Holds the key of the parent item. Mirrors the client-side parentId option.
ParentId(String) Holds the key of the parent item. Mirrors the client-side parentId option.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Selected(JS) Specifies whether the TreeView item should be displayed as selected. Mirrors the client-side selected option.
Selected(Boolean) Specifies whether the TreeView item should be displayed as selected. Mirrors the client-side selected option.
Template(JS) Specifies the client-side template.
Template(RazorBlock) Specifies the client-side template.
Template(TemplateName) Specifies the client-side template.
Template(String) Specifies the client-side template.
Text(JS) Specifies text displayed for the UI component item. Mirrors the client-side text option.
Text(String) Specifies text displayed for the UI component item. Mirrors the client-side text option.
ToString() Returns a string that represents the current object. Inherited from Object.
Visible(JS) Specifies whether or not a UI component item must be displayed. Mirrors the client-side visible option.
Visible(Boolean) Specifies whether or not a UI component item must be displayed. Mirrors the client-side visible option.
See Also