Enumeration TreeViewCommand

Enumeration of commands for interacting with a tree view control.

Enumeration Members

Check: "Check"

Checks an item (if the item supports it).

Collapse: "Collapse"

Collapses an item to hide its children.

Exists: "Exists"

Returns 1 if an item exists, otherwise 0.

Expand: "Expand"

Expands an item to show its children.

GetItemCount: "GetItemCount"

Returns the number of children for a selected item.

GetSelected: "GetSelected"

Returns the item reference of the current selection using the text reference of the item (or index reference if UseIndex is set to 1).

GetText: "GetText"

Returns the text of an item.

IsChecked: "IsChecked"

Returns the state of an item.

Value Description
1 Checked
0 Unchecked
-1 Not a checkbox
Select: "Select"

Selects an item.

Uncheck: "Uncheck"

Unchecks an item (if the item supports it).