UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
ITreeViewNode Interface
A single tree-view node belonging to a .NET WPF tree-view object.
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.  
 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.  
 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 current state of the check box.  
 PropertyTextThe text of this node, or an empty string ("") if the node does not contain any text.  
Top
Public Methods
 NameDescription
 MethodCollapseHides this node's sub-nodes in the expanded tree-view object.  
 MethodDragAndDropOnDrags and drops a test object to the specified target object. (Inherited from HP.LFT.SDK.ISupportDragAndDrop)
 MethodExpandDisplays this node's hidden sub-nodes in the tree-view object.  
 MethodExpandAllExpands this node and all of the nodes below it in the tree-view object.  
Top