The TreeView class represents a tree view control.
Adds a treeview item, specified by item, to the node specified by parent. If parent isn't specified, then item is added to the root item of the treeview.
Clears the treeview of all items.
Collapses a treeview item, specified by item, so that it no longer shows any children it may have.
Deletes the treeview item, specified by item, from the treeview.
Deselects all items in the treeview.
Deselects a treeview item, specified by item.
This function triggers an event that causes a treeview item, specified by item, to enter into editing mode.
Expands a treeview item, specified by item, so that it shows its children, if they exist.
Returns the number of items in the treeview.
Returns the number of items in the treeview.
Returns the root item of the treeview.
Gets the root item of the treeview.
Returns the selected treeview item, if a treeview item is selected. Otherwise, the function returns null.
Gets the selected treeview item from the treeview. If the treeview doesn't have a selection, the function returns null.
Returns an array of the selected treeview items in the treeview.
Gets an array of the selected treeview items from the treeview.
Scrolls the treeview control to a treeview item, which is specified by item.
Selects a treeview item, specified by item.
Sets the root item of the treeview from the specified item.
Expands or collapses a treeview item, depending on whether it is currently expanded or collapsed. If the treeview item is currently expanded, the function will collapse it. If the treeview item is currently collapsed, the function will expand it.
Selects or deselects a treeview item, depending on whether it is currently selected or deselected. If the treeview item is currently selected, the function will deselect it. If the treeview item is currently deselected, the function will select it.