Table of Contents

Interface ITreeViewNode

Namespace
HP.LFT.SDK.WPF
Assembly
HP.LFT.SDK.dll

A single tree-view node belonging to a .NET WPF 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

string

HasChildren

Indicates whether this node has children.

bool HasChildren { get; }

Property Value

bool

IsExpanded

Indicates whether this node is currently expanded.

bool IsExpanded { get; }

Property Value

bool

IsSelected

Indicates whether this node is selected.

bool IsSelected { get; }

Property Value

bool

NextSiblingPath

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

string NextSiblingPath { get; }

Property Value

string

ParentPath

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

string ParentPath { get; }

Property Value

string

Path

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

string Path { get; }

Property Value

string

State

The current state of the check box.

int State { get; }

Property Value

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.

string Text { get; }

Property Value

string

Methods

Collapse()

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

void Collapse()

Expand()

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

void Expand()

ExpandAll()

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

void ExpandAll()