ITreeViewNode Interface
A single tree view node belonging to a standard Windows tree view control.

C# Syntax

public interface ITreeViewNode : HP.LFT.SDK.ISupportDragAndDrop  
Public Properties
 NameDescription
PropertyFirstChildPathThe full path of the node's first child node as a semi-colon delimited string.  
PropertyHasChildrenIndicates whether the node has children.  
PropertyImageIndexThe image index of the node.  
PropertyIsExpandedIndicates whether the node is expanded.  
PropertyIsSelectedIndicates whether the node is selected.  
PropertyNextSiblingPathThe full path of the node's next sibling node as a semi-colon delimited string.  
PropertyOverlayImageIndexThe index number of the current overlay image.  
PropertyParentPathThe full path of the node's parent node as a semi-colon delimited string.  
PropertyPathThe full path of the node as a semi-colon delimited string.  
PropertyStateThe state image index of the node.  
PropertyTextThe text of the node, or "" when empty.  
Top
Public Methods
 NameDescription
MethodClickStateClicks the state icon.  
MethodCollapseHides sub-nodes of the specified node in the expanded tree-view control.  
MethodDoubleClickStateDouble-clicks state icon.  
MethodDragAndDropOnDrags and drops a test object to the specified target object. (Inherited from HP.LFT.SDK.ISupportDragAndDrop)
MethodEnableLabelEditingActivates the edit mode for the node in the tree-view control to enable renaming.

IMPORTANT: This method only enables the node for renaming. To actually rename the node, you must set its value using the IEditor or IEditField test object, together with an applicable method.  

MethodExpandDisplays hidden sub-nodes of the specified node in the tree-view control.  
MethodExpandAllExpands the node in the tree-view control and all of the nodes below it.  
MethodSetNodeStateSets the state of the check box icon of the specified node in the tree-view control.  
Top