UpdateTreeView

A tree view that automatically updates its properties.


Constructors:

New()

Properties:

Enabled As Boolean

True if the control is enabled (read-only).

Nodes As System.Collections.ArrayList

Collection of items in the tree view (read-only).

SelectedNode As Object

The node that is currently selected (read-only).


Methods:

CollapseItem (ByVal tag As Object)
EditItem (ByVal tag As Object)
ExpandItem (ByVal tag As Object)
IsItemExpanded (ByVal tag As Object) As Boolean
SelectItem (ByVal tag As Object)
ToggleItem (ByVal tag As Object)

Events:

GetEnabled () As Boolean

Event fired to determine whether the control is enabled.

GetHasSubItems (ByVal tag As Object) As Boolean

Event fired to determine if the tree node has sub items.

GetItemImageIndex (ByVal tag As Object) As Integer

Event fired to determine the image index of a tree node.

GetItemText (ByVal tag As Object) As String

Event fired to get the text associated with an item.

GetItems () As System.Collections.IEnumerable

Event fired to get the list of items.

GetSelectedItemImageIndex (ByVal tag As Object) As Integer

Event fired to determine the image index of a selected tree node.

GetSelectedNode () As Object

Event fired to get the selected node in a tree view.

GetSubItems (ByVal tag As Object) As System.Collections.IEnumerable

Event fired to determine the sub items of a tree node.

SetItemText (ByVal tag As Object, ByVal value As String)

Event fired when the user edits the label of an item.

SetSelectedNode (ByVal value As Object)

Event fired when the user selects a node in a tree view.