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
  Name Description
Property FirstChildPath The full path of this node's first child node as a semi-colon delimited string.  
Property HasChildren Indicates whether this node has children.  
Property ImageIndex The image index of this node.  
Property IsExpanded Indicates whether this node is currently expanded.  
Property IsSelected Indicates whether this node is selected.  
Property NextSiblingPath The full path of this node's next sibling node as a semi-colon delimited string.  
Property OverlayImageIndex The index of the current overlay image.  
Property ParentPath The full path of this node's parent node as a semi-colon delimited string.  
Property Path The full path of this node as a semi-colon delimited string.  
Property State The state image index of this node.  
Property Text The text of this node. An empty string if the node does not contain any text.  
Top
Public Methods
  Name Description
Method ClickState Clicks the state icon.  
Method Collapse Hides sub-nodes of this node in the expanded tree-view control.  
Method DoubleClickState Double-clicks the 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 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.  

Method Expand Displays direct sub-nodes of this node in the tree-view control.  
Method ExpandAll Displays all nodes of the sub-tree that has this node as the root.  
Method SetNodeState Sets the state of the check box icon of the specified node in the tree-view control.  
Top