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
  Name Description
Property FirstChildPath The full path of the node's first child node as a semi-colon delimited string.  
Property HasChildren Indicates whether the node has children.  
Property ImageIndex The image index of the node.  
Property IsExpanded Indicates whether the node is expanded.  
Property IsSelected Indicates whether the node is selected.  
Property NextSiblingPath The full path of the node's next sibling node as a semi-colon delimited string.  
Property OverlayImageIndex The index number of the current overlay image.  
Property ParentPath The full path of the node's parent node as a semi-colon delimited string.  
Property Path The full path of the node as a semi-colon delimited string.  
Property State The state image index of the node.  
Property Text The text of the node, or "" when empty.  
Top
Public Methods
  Name Description
Method ClickState Clicks the state icon.  
Method Collapse Hides sub-nodes of the specified node in the expanded tree-view control.  
Method DoubleClickState Double-clicks state icon.  
Method DragAndDropOn Drags and drops a test object to the specified target object. (Inherited from HP.LFT.SDK.ISupportDragAndDrop)
Method EnableLabelEditing Activates 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.  

Method Expand Displays hidden sub-nodes of the specified node in the tree-view control.  
Method ExpandAll Expands the node in the tree-view control and all of the nodes below it.  
Method SetNodeState Sets the state of the check box icon of the specified node in the tree-view control.  
Top