Table of Contents

Interface ITreeView

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

A .NET WPF tree-view object.

public interface ITreeView : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject, ITestObject, ITestObjectDescriber
Inherited Members
Extension Methods

Properties

Name

The name of this object.

string Name { get; }

Property Value

string

ParentText

The text associated with the parent object of this object.

string ParentText { get; }

Property Value

string

SelectedNodes

Returns the selected nodes in this tree-view object.

ReadOnlyCollection<ITreeViewNode> SelectedNodes { get; }

Property Value

ReadOnlyCollection<ITreeViewNode>

VisibleNodes

Returns the visible nodes in this tree-view object.

ReadOnlyCollection<ITreeViewNode> VisibleNodes { get; }

Property Value

ReadOnlyCollection<ITreeViewNode>

Methods

GetNode(string)

Returns the node with the specified path. If the path is not unique, returns the first node with the specified path.

ITreeViewNode GetNode(string nodePath)

Parameters

nodePath string

Elements of the path are separated by semi-colons (;).

Returns

ITreeViewNode

Select(ITreeViewNode)

Selects a node in the tree-view object.

void Select(ITreeViewNode node)

Parameters

node ITreeViewNode

The node to select.

Select(int)

Selects a node in the tree-view object by node index.

void Select(int nodeIndex)

Parameters

nodeIndex int

The index of the node to select.

Select(string)

Selects a node in the tree-view object.

void Select(string node)

Parameters

node string

The node to select.