Interface ITreeViewNode
A tree view node of a .NET Windows Forms tree-view object.
public interface ITreeViewNode : ISupportDragAndDrop
- Inherited Members
Properties
FirstChildPath
The full path of this node's first child node as a semi-colon delimited string.
string FirstChildPath { get; }
Property Value
HasChildren
Indicates whether this node has children.
bool HasChildren { get; }
Property Value
ImageIndex
The image index of this node.
int ImageIndex { get; }
Property Value
IsExpanded
Indicates whether this node is currently expanded.
bool IsExpanded { get; }
Property Value
IsSelected
Indicates whether this node is selected.
bool IsSelected { get; }
Property Value
NextSiblingPath
The full path of this node's next sibling node as a semi-colon delimited string.
string NextSiblingPath { get; }
Property Value
OverlayImageIndex
The index of the current overlay image.
int OverlayImageIndex { get; }
Property Value
ParentPath
The full path of this node's parent node as a semi-colon delimited string.
string ParentPath { get; }
Property Value
Path
The full path of this node as a semi-colon delimited string.
string Path { get; }
Property Value
State
The state image index of this node.
int State { get; }
Property Value
Text
The text of this node. An empty string if the node does not contain any text.
string Text { get; }
Property Value
Methods
ClickState()
Clicks the state icon.
void ClickState()
Collapse()
Hides sub-nodes of this node in the expanded tree-view control.
void Collapse()
DoubleClickState()
Double-clicks the state icon.
void DoubleClickState()
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.void EnableLabelEditing()
Expand()
Displays direct sub-nodes of this node in the tree-view control.
void Expand()
ExpandAll()
Displays all nodes of the sub-tree that has this node as the root.
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.