Click or drag to resize

TreeView Methods

X#

The TreeView type exposes the following members.

Functions
  NameDescription
Public methodAddItem
Add a new tree view item as the last child item of a specified parent.
Public methodCollapse
Collapse a tree view item, hiding its child items.
Public methodDeleteAll
Delete all items of the tree view.
Public methodDeleteItem
Delete a tree view item.
Public methodEditItemLabel
Begins in-place label editing of an item in the tree view.
Public methodEnableDragDrop
Enable or disable drag-and-drop of items for the tree view.
Public methodEnableSort
Register a user-defined method to use for sorting items in the tree view.
Public methodEnsureVisible
Ensure that an item is visible in the tree view, expanding its parent item or scrolling the tree view if necessary.
Public methodExpand
Expand a tree view item, showing its child items.
Public methodGetDropHighlight
Return the first tree view item that is the target of a drag-and-drop operation.
Public methodGetFirstChildItem
Return the first child tree view item.
Public methodGetFirstVisibleItem
Return the first visible tree view item.
Public methodGetItemAtPosition
Return the tree view item at a particular position, if one exists.
Public methodGetItemAttributes
Return a tree view item given its symbolic name.
Public methodGetItemBoundingBox
Return the bounding box of a tree view item.
Public methodGetNextSiblingItem
Return a tree view item's next sibling item.
Public methodGetNextVisibleItem
Return a tree view item's next visible item.
Public methodGetParentItem
Return a tree view item's parent item.
Public methodGetPreviousSiblingItem
Return a tree view item's previous sibling item.
Public methodGetPreviousVisibleItem
Return a tree view item's previous visible item.
Public methodGetRootItem
Return the root tree view item.
Public methodGetSelectedItem
Return the currently selected tree view item.
Public methodInsertItem
Insert a new tree view item as a child of a specified item and after a specified item in the tree view.
Public methodSelectItem
Cause a tree view to select a tree view item, scroll the item into view, or redraw it as the target of a drag-and-drop operation.
Public methodSetItemAttributes
Update a tree view item within the tree view.
Public methodSortChildren
Sort the child tree view items of an item using the user-defined sort method specified by EnableSort().
Public methodToggle
Toggle the expanded or collapsed state of a tree view item, showing or hiding its child items appropriately.
Top
See Also