Click or drag to resize

TreeViewItem Class

X#
Create a tree view item.
Inheritance Hierarchy
Object
  VObject
    TreeViewItem

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 CLASS TreeViewItem INHERIT VObject
Request Example View Source

The TreeViewItem type exposes the following members.

Constructors
  NameDescription
Public methodTreeViewItem
Construct a tree view item.
Top
Properties
  NameDescription
Public propertyBold
A logical value that is TRUE if the text of the tree view item is bold.
Public propertyDisabled
A logical value that is TRUE if the image of the tree view item is disabled.
Public propertyDropTarget
A logical value that is TRUE if the tree view item is highlighted as the target of a drag-and-drop operation.
Public propertyExpanded
A logical value that determines if the tree view item is expanded or collapsed.
Public propertyFirstChild
The first child item of the tree view item.
Public propertyFocused
A logical value that is TRUE if the tree view item is focused.
Public propertyImageIndex
A numeric value that represents the index of the tree view item's image in the image list.
Public propertyNameSym
The symbolic name for the tree view item.
Public propertyNextSibling
The next sibling item of the tree view item.
Public propertyOverlayImageIndex
A numeric value that represents the index of the tree view item's overlay image in the image list. Overlay images are images that are drawn over the item's main image. A tree view can have up to four overlay images, so this value can be in the range of 1 to 4.
Public propertyParent
The parent TreeView object of the tree view item.
Public propertyPreviousSibling
The previous sibling item of the tree view item.
Public propertySelected
A logical value that is TRUE if the tree view item is selected.
Public propertySelectedImageIndex
A numeric value that represents the index of the tree view item's selected image in the image list. Selected images are displayed in place of an item's normal image when the item is selected.
Public propertyStateImageIndex
A numeric value that represents the index of the tree view item's state image in the state image list. State images are images that are drawn next to the item's main image.
Public propertyTextValue
The text value of the tree view item.
Public propertyTreeViewControl
The TreeView object identifying the TreeView control to which the current tree view item is linked.
Public propertyValue
The usual value associated with the tree view item.
Top
Methods
  NameDescription
Public methodCollapse
Collapse a tree view item, hiding its child items.
Public methodDelete
Delete the tree view item.
Public methodDestroy
Free memory resources allocated for a VObject object and its derived objects.
(Inherited from VObject.)
Public methodExpand
Expand a tree view item, showing its child items.
Top
Fields
  NameDescription
Public fieldoCargo
Cargo slot.
(Inherited from VObject.)
Top
Remarks
A tree view item describes an item in a tree view control.
See Also

Reference