Accessors for class IlvHierarchicalSheet

Properties

Methods

Description

The IlvHierarchicalSheet class implements a special sheet that handles a tree hierarchy. The tree is composed of IlvTreeGadgetItem objects, and can be accessed through the same API as the IlvTreeGadget class.

TypeNameDescriptionNotes
IlvTreeGadgetItemaddItem(IlvTreeGadgetItem parent, String label, Int index, Bitmap bitmap, Bitmap selectionBitmap)Adds the item item as a sub-item of the item parent. If parent is NULL, the new item is added to the root item. The parameter index indicates the required position for the new item in the list of child items. If index is -1 then the item is added at the end of the list.
VoidexpandItem(IlvTreeGadgetItem item)Expands the item to show the child items.
UIntindentationSets and returns the indentation used in the tree hierarchy.
VoidremoveAllItems()Removes all the items from the tree hierarchy. All associated rows are removed from the sheet.
VoidremoveItem(IlvTreeGadgetItem item)Removes the specified tree item from the tree hierarchy. Associated rows are removed from the sheet.
IlvTreeGadgetItemrootReturns the root item of the tree.
VoidshrinkItem(IlvTreeGadgetItem item)Shrinks the item so that child items are no longer visible.
BooleanvisibleLinesSpecifies whether connecting lines are drawn between parents and children (true) or not (false).