ITreeListNode

Assembly: Forms;

Description

The ITreeListNode interface contains properties and methods of the tree nodes.

Inheritance Hierarchy

          ITreeListNodeBase

          ITreeListNode

Comments

To work with collection of nodes, use the ITreeListNodes interface.

Properties

  Property name Brief description

Accessibility

The Accessibility property determines whether tree elements will be active.

Bold

The Bold property determines whether element text is displayed in bold.

Checked

The Checked property determines whether the selection is set for the element of the component.

CheckState

The CheckState property determines a state of selection of the tree element.

ColumnText

The ColumnText property determines a text of the specified column for the current element.

Cut

The Cut property determines whether the element is marked as cut out.

Data

The Data property enables the user to correspond the data of custom structure to the tree element.

Expanded

The Expanded property determines whether hierarchy the tree node is expanded or collapsed.

Focused

The Focused property determines whether the element is focused.

Id

The Id property returns the unique numeric identifier of the element.

ImageIndex

The ImageIndex property determines index of the image that is placed to the left of the text of the element in the first column of the component.

Index

The Index property returns index of the element in the list of child elements of the parent.

IsDropTarget

The IsDropTarget property determines whether any node is passing over the current node at the moment.

Level

The Level property returns index of the level, at which this node is located.

NextNode

The NextNode property returns the next element of the tree.

NextSelectedNode

The NextSelectedNode property returns the next selected tree element.

NextSiblingNode

The NextSiblingNode property returns the next neighboring node that is located at the same level with this node.

OverlayIndex

The OverlayIndex property determines index of the overlay.

Parent

The Parent property returns the parent element for this element.

PreviousNode

The PreviousNode property returns the previous element of the tree.

PreviousSelectedNode

The PreviousSelectedNode property returns the previous selected tree element.

PreviousSiblingNode

The PreviousSiblingNode property returns the previous neighboring node that is located at the same level with this node.

Selected

The Selected property determines whether the element is selected.

SelectedIndex

The SelectedIndex property determines index that connects the element with one of the images of the Images property that displays the selected elements.

StateIndex

The StateIndex property determines index that connects the element with one of the images of the StateImages property that displays the state of the element.

Text

The Text property determines text of the first column for the current element.

Visible

The Visible property determines whether the element is in the component visible area.

Properties inherited from ITreeListNodeBase

  Property name Brief description
Count The Count property returns the number of child elements.
FirstChild The FirstChild property returns parameters of the first child element.
HasChildren The HasChildren property determines whether this element has child elements.
Item The Item property returns parameters of the specified child element.
LastChild The LastChild property returns parameters of the last child element.
TreeControl The TreeControl property returns the parent object.

Methods

  Method name Brief description

Delete

The Delete method deletes the current element with all child elements of the tree.

EditText

The EditText method returns the value that checks if the edit mode can be enabled.

EndEdit

The EndEdit method enables the user to exit the edit mode of the text of the tree elements.

IsChild

The IsChild method determines whether the current element is a child for the element passing as in parameter.

IsParent

The IsParent method determines whether the current element is a parent for the element passing as in parameter.

MakeVisible

The MakeVisible method scrolls the tree of elements so that this element is in the visible area of the component.

MoveTo

The MoveTo method moves top element to selected position.

SelectNode

The SelectNode method selects the element of the tree.

SelectSiblings

The SelectSiblings method selects the elements of the level, at which this element is located.

Sort

The Sort method sorts by the contents of the specified column.

SortDefault

The SortDefault method sorts the column specified in the SortColumn property by contents.

UnselectNode

The UnselectNode method deselects the element of the tree.

UnselectSiblings

The UnselectSiblings method deselects the elements of the level, at which this element is located.

Methods inherited from ITreeListNodeBase

  Method name Brief description
AnyChildSelected The AnyChildSelected method returns whether there are selected child elements.
Collapse The Collapse method collapses the structure of child elements of the tree.
DeleteChildren The DeleteChildren method deletes all child elements of the current element.
Expand The Expand method expands hierarchy of the child elements tree.
SelectChildren The SelectChildren method selects child elements.
UnselectChildren The UnselectChildren method deselects child elements.

See also:

Forms Assembly Interfaces