UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
ITreeViewNode Interface Methods

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