Interface ITreeView
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
ParentText
The text associated with the parent object of this object.
string ParentText { get; }
Property Value
SelectedNodes
Returns the selected nodes in this tree-view object.
ReadOnlyCollection<ITreeViewNode> SelectedNodes { get; }
Property Value
VisibleNodes
Returns the visible nodes in this tree-view object.
ReadOnlyCollection<ITreeViewNode> VisibleNodes { get; }
Property Value
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
nodePathstringElements of the path are separated by semi-colons (;).
Returns
Select(ITreeViewNode)
Selects a node in the tree-view object.
void Select(ITreeViewNode node)
Parameters
nodeITreeViewNodeThe node to select.
Select(int)
Selects a node in the tree-view object by node index.
void Select(int nodeIndex)
Parameters
nodeIndexintThe index of the node to select.
Select(string)
Selects a node in the tree-view object.
void Select(string node)
Parameters
nodestringThe node to select.