Share this page

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

Top
Public Methods

| Name | Description
--- | --- | ---
| ClickState | Clicks the state icon.
| Collapse | Hides sub-nodes of the specified node in the expanded tree-view control.
| DoubleClickState | Double-clicks 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 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.
| Expand | Displays hidden sub-nodes of the specified node in the tree-view control.
| ExpandAll | Expands the node in the tree-view control and all of the nodes below it.
| 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... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: