Search
TreeView Members
Constructors Properties Methods Events
 


Represents a tree view control.

The following tables list the members exposed by the TreeView type.

 Public Constructors

  Name Description

TreeView

Initializes a new instance of the TreeView class.

 Public Properties

  Name Description

acceptDrop

Gets or sets the TreeNode instance that can be dropped.

allowDrag

Gets or sets whether drag and drop capabilities are enabled. (Inherited from ListContainer.)

allowDrop

Gets or sets whether the ListContainer control can be used as a drop target. (Inherited from ListContainer.)

allowMultipleSelection

Gets or sets whether users are allowed to select more than one item at a time. (Inherited from ListContainer.)

content

Gets a reference to the container's content element. (Inherited from ListContainer.)

flatItems

Gets the collection of items as a flat list.

items

Gets the collection of ListItem-s. (Inherited from ListContainer.)

itemSize

Gets or sets the size of the list items. (Inherited from ListContainer.)

loadedItems

Gets the collection of loaded items as a flat list.

loadOnDemand

Gets or sets a value indicating whether TreeNode-s DOM will be created only after their parent node is expanded.

orientation

Gets or sets a value indicating how list items are arranged. (Inherited from ListContainer.)

selection

Gets the collection of selected items. (Inherited from ListContainer.)

toggleMode

Gets or sets a value indicating how TreeNode-s expand/collapse will be triggered.

 Public Methods

  Name Description

attach

Control.attach override. (Inherited from ListContainer.)

deselectItem

Deselects an item. (Inherited from ListContainer.)

deselectNode

Deselects a TreeNode.

detach

Control.detach override. (Inherited from ListContainer.)

draw

Control.draw override.

fromJson

Deserializes items from a JSON string.

fromObject

Loads the TreeView items from a data object.

getItemAt

Gets the item at the specified point. (Inherited from ListContainer.)

raiseItemDragEnd

Raises the itemDragEnd event. (Inherited from ListContainer.)

selectItem

Selects a ListItem. (Inherited from ListContainer.)

selectNode

Selects a TreeNode.

toJson

Serializes the ListItem-s to a JSON string. (Inherited from ListContainer.)

 Public Events

  Name Description

dragDrop

Raised when an item is dropped onto the control. (Inherited from ListContainer.)

dragOver

Raised when an item is dragged over the control. (Inherited from ListContainer.)

itemClick

Raised when an item is clicked. (Inherited from ListContainer.)

itemDoubleClick

Raised when an item is double-clicked. (Inherited from ListContainer.)

itemDrag

Raised when an item is dragged. (Inherited from ListContainer.)

itemDragEnd

Raised when a drag operation on an item is finished. (Inherited from ListContainer.)

itemDragStart

Raised when a drag operation on an item is started. (Inherited from ListContainer.)

itemDraw

Raised when an item is being drawn. (Inherited from ListContainer.)

itemDrop

Raised when a drop operation is finished. (Inherited from ListContainer.)

itemMouseDown

Raised when a mousedown event occurs in an item's element. (Inherited from ListContainer.)

itemMouseEnter

Raised when a mouseenter event occurs in an item's element. (Inherited from ListContainer.)

itemMouseLeave

Raised when a mouseleave event occurs in an item's element. (Inherited from ListContainer.)

itemsChanged

Raised when the items collection is changed. (Inherited from ListContainer.)

itemsChanging

Raised when the items collection is changing. (Inherited from ListContainer.)

selectionChanged

Raised when the selection collection is changed. (Inherited from ListContainer.)

selectionChanging

Raised when the selection collection is changing. (Inherited from ListContainer.)

 See Also