Share this page

ITreeViewNode Interface
A single tree view node belonging to a PowerBuilde 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. C# Syntax
    string FirstChildPath {get;}
| HasChildren | Indicates whether the node has children. C# Syntax
     bool HasChildren {get;}
| ImageIndex | The image index of the node. C# Syntax
    int ImageIndex {get;}
| IsExpanded | Indicates whether the node is expanded. C# Syntax
    bool IsExpanded {get;}
| IsSelected | Indicates whether the node is selected. C# Syntax
    bool IsSelected {get;}
| NextSiblingPath | The full path of the node's next sibling node as a semi-colon delimited string. C# Syntax
    string NextSiblingPath {get;}
| OverlayImageIndex | The index number of the current overlay image. C# Syntax
    int OverlayImageIndex {get;}
| ParentPath | The full path of the node's parent node as a semi-colon delimited string. C# Syntax
    string ParentPath {get;}
| Path | The full path of the node as a semi-colon delimited string. C# Syntax
    string Path {get;}
| State | The state image index of the node. C# Syntax
    int State {get;}
| Text | The text of the node, or "" when empty. C# Syntax
    string Text {get;}

Top
Public Methods

| Name | Description
--- | --- | ---
| ClickState | Clicks the state icon.
    void ClickState()
| Collapse | Hides sub-nodes of the specified node in the expanded tree-view control. C# Syntax
    void Collapse()
| DoubleClickState | Double-clicks state icon. C# Syntax
    void DoubleClickState()
| 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. C# Syntax
    void EnableLabelEditing()
| Expand | Displays hidden sub-nodes of the specified node in the tree-view control. C# Syntax
    void Expand()
| ExpandAll | Expands the node in the tree-view control and all of the nodes below it. C# Syntax
    void ExpandAll()
| SetNodeState | Sets the state of the check box icon of the specified node in the tree-view control. C# Syntax
    void SetNodeState(
       int index
    )
Parameters index The state index.

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: