Interface ITreeViewNode
- Namespace
- HP.LFT.SDK.PowerBuilder
- Assembly
- HP.LFT.SDK.dll
A single tree view node belonging to a PowerBuilder tree view control.
public interface ITreeViewNode : ISupportDragAndDrop
- Inherited Members
Properties
FirstChildPath
The full path of the node's first child node as a semi-colon delimited string.
string FirstChildPath { get; }
Property Value
HasChildren
Indicates whether the node has children.
bool HasChildren { get; }
Property Value
ImageIndex
The image index of the node.
int ImageIndex { get; }
Property Value
IsExpanded
Indicates whether the node is expanded.
bool IsExpanded { get; }
Property Value
IsSelected
Indicates whether the node is selected.
bool IsSelected { get; }
Property Value
NextSiblingPath
The full path of the node's next sibling node as a semi-colon delimited string.
string NextSiblingPath { get; }
Property Value
OverlayImageIndex
The index number of the current overlay image.
int OverlayImageIndex { get; }
Property Value
ParentPath
The full path of the node's parent node as a semi-colon delimited string.
string ParentPath { get; }
Property Value
Path
The full path of the node as a semi-colon delimited string.
string Path { get; }
Property Value
State
The state image index of the node.
int State { get; }
Property Value
Text
The text of the node, or "" when empty.
string Text { get; }
Property Value
Methods
ClickState()
Clicks the state icon.
void ClickState()
Collapse()
Hides sub-nodes of the specified node in the expanded tree-view control.
void Collapse()
DoubleClickState()
Double-clicks state icon.
void DoubleClickState()
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.void EnableLabelEditing()
Expand()
Displays hidden sub-nodes of the specified node in the tree-view control.
void Expand()
ExpandAll()
Expands the node in the tree-view control and all of the nodes below it.
void ExpandAll()
SetNodeState(int)
Sets the state of the check box icon of the specified node in the tree-view control.
void SetNodeState(int index)
Parameters
indexintThe state index.