ITreeViewNode Interface
A tree view node of a .NET Windows Forms tree-view object.

C# Syntax

public interface ITreeViewNode : HP.LFT.SDK.ISupportDragAndDrop  
Public Properties
 NameDescription
PropertyFirstChildPathThe full path of this node's first child node as a semi-colon delimited string.  
PropertyHasChildrenIndicates whether this node has children.  
PropertyImageIndexThe image index of this node.  
PropertyIsExpandedIndicates whether this node is currently expanded.  
PropertyIsSelectedIndicates whether this node is selected.  
PropertyNextSiblingPathThe full path of this node's next sibling node as a semi-colon delimited string.  
PropertyOverlayImageIndexThe index of the current overlay image.  
PropertyParentPathThe full path of this node's parent node as a semi-colon delimited string.  
PropertyPathThe full path of this node as a semi-colon delimited string.  
PropertyStateThe state image index of this node.  
PropertyTextThe text of this node. An empty string if the node does not contain any text.  
Top
Public Methods
 NameDescription
MethodClickStateClicks the state icon.  
MethodCollapseHides sub-nodes of this node in the expanded tree-view control.  
MethodDoubleClickStateDouble-clicks the state icon.  
MethodDragAndDropOnDrags and drops a test object to the specified target object. (Inherited from HP.LFT.SDK.ISupportDragAndDrop)
MethodEnableLabelEditingActivates the edit mode for this 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 IEditField or IEditor test object, together with an applicable method.  

MethodExpandDisplays direct sub-nodes of this node in the tree-view control.  
MethodExpandAllDisplays all nodes of the sub-tree that has this node as the root.  
MethodSetNodeStateSets the state of the check box icon of the specified node in the tree-view control.  
Top