Share this page

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
--- | --- | ---
| FirstChildPath | The full path of this node's first child node as a semi-colon delimited string.
| HasChildren | Indicates whether this node has children.
| ImageIndex | The image index of this node.
| IsExpanded | Indicates whether this node is currently expanded.
| IsSelected | Indicates whether this node is selected.
| NextSiblingPath | The full path of this node's next sibling node as a semi-colon delimited string.
| OverlayImageIndex | The index of the current overlay image.
| ParentPath | The full path of this node's parent node as a semi-colon delimited string.
| Path | The full path of this node as a semi-colon delimited string.
| State | The state image index of this node.
| Text | The text of this node. An empty string if the node does not contain any text.

Top
Public Methods

| Name | Description
--- | --- | ---
| ClickState | Clicks the state icon.
| Collapse | Hides sub-nodes of this node in the expanded tree-view control.
| DoubleClickState | Double-clicks the state icon.
| DragAndDropOn | Drags and drops a test object to the specified target object. (Inherited from HP.LFT.SDK.ISupportDragAndDrop)
| 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.
| Expand | Displays direct sub-nodes of this node in the tree-view control.
| ExpandAll | Displays all nodes of the sub-tree that has this node as the root.
| SetNodeState | Sets the state of the check box icon of the specified node in the tree-view control.

Top

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: