Retrive list of Name strings for all UIATreeItems control in this tree

Namespace:  QAliber.Engine.Controls.UIA
Assembly:  QAliber.Engine (in QAliber.Engine.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public string[] Items { get; }
Visual Basic (Declaration)
Public ReadOnly Property Items As String()
Visual C++
public:
virtual property array<String^>^ Items {
	array<String^>^ get () sealed;
}

Examples

CopyC#
UIAWindow vsWin = Desktop.UIA["Visual Studio", true] as UIAWindow;
UIATree solutionTree = vsWin[@"Solution Explorer", true][@"", @"VsUIHierarchyBaseWin", @"UIAPane"][@"Solution Explorer", @"SysTreeView32", @"UIATree"] as UIATree;
string[] allTreeItems = solutionTree.Items;

See Also