TreeViewItemBuilder Methods

This section lists the data source fields that are used in a default item template.

Name Description
Disabled(Boolean)

Specifies whether a widget item should be disabled.

Disabled(JS)

Specifies whether a widget item should be disabled.

Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(Inherited from Object)
Expanded(Boolean)

Specifies whether or not the tree view item is displayed expanded.

Expanded(JS)

Specifies whether or not the tree view item is displayed expanded.

GetHashCode() Serves as the default hash function.
(Inherited from Object)
GetType() Gets the Type of the current instance.
(Inherited from Object)
HasItems(Boolean)

Specifies whether or not the tree view item has children.

HasItems(JS)

Specifies whether or not the tree view item has children.

Html(JS)

Specifies html code inserted into the widget item element.

Html(String)

Specifies html code inserted into the widget item element.

Icon(JS)

Specifies the tree view item's icon.

Icon(String)

Specifies the tree view item's icon.

Items(Action<CollectionFactory<TreeViewItemBuilder>>)

Holds an array of tree view items.

MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
Option(String, Object)

Specifies an option by its name.

ParentId(Double)

Holds the key of the parent item.

ParentId(JS)

Holds the key of the parent item.

ParentId(String)

Holds the key of the parent item.

ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance.
(Inherited from Object)
Selected(Boolean)

Specifies whether or not the tree view item is displayed selected.

Selected(JS)

Specifies whether or not the tree view item is displayed selected.

Template(JS)

Specifies an item template that should be used to render this item only.

Template(RazorBlock)

Specifies an item template that should be used to render this item only.

Template(String)

Specifies an item template that should be used to render this item only.

Template(TemplateName)

Specifies an item template that should be used to render this item only.

Text(JS)

Specifies text displayed for the widget item.

Text(String)

Specifies text displayed for the widget item.

ToString() Returns a string that represents the current object.
(Inherited from Object)
Visible(Boolean)

Specifies whether or not a widget item must be displayed.

Visible(JS)

Specifies whether or not a widget item must be displayed.

See Also