Table of Contents

Interface ITreeViewNode

A single tree-view node belonging to a .NET WPF tree-view object.

Namespace: HP.LFT.SDK.WPF
Assembly: HP.LFT.SDK.dll
Syntax
public interface ITreeViewNode : ISupportDragAndDrop

Properties

FirstChildPath

The full path of this node's first child node as a semi-colon delimited string.

Declaration
string FirstChildPath { get; }
Property Value
Type Description
string

HasChildren

Indicates whether this node has children.

Declaration
bool HasChildren { get; }
Property Value
Type Description
bool

IsExpanded

Indicates whether this node is currently expanded.

Declaration
bool IsExpanded { get; }
Property Value
Type Description
bool

IsSelected

Indicates whether this node is selected.

Declaration
bool IsSelected { get; }
Property Value
Type Description
bool

NextSiblingPath

The full path of this node's next sibling node as a semi-colon delimited string.

Declaration
string NextSiblingPath { get; }
Property Value
Type Description
string

ParentPath

The full path of the node's parent node as a semi-colon delimited string.

Declaration
string ParentPath { get; }
Property Value
Type Description
string

Path

The full path of the node as a semi-colon delimited string.

Declaration
string Path { get; }
Property Value
Type Description
string

State

The current state of the check box.

Declaration
int State { get; }
Property Value
Type Description
int
Remarks

Applies only to nodes with check boxes.

Text

The text of this node, or an empty string ("") if the node does not contain any text.

Declaration
string Text { get; }
Property Value
Type Description
string

Methods

Collapse()

Hides this node's sub-nodes in the expanded tree-view object.

Declaration
void Collapse()

Expand()

Displays this node's hidden sub-nodes in the tree-view object.

Declaration
void Expand()

ExpandAll()

Expands this node and all of the nodes below it in the tree-view object.

Declaration
void ExpandAll()