NUnitForms Class Library

TreeViewTester.Item Property

Allows you to find a TreeViewTester by index where the name is not unique.

[Visual Basic]
Overloads Public Default ReadOnly Property Item( _
   ByVal index As Integer _
) As TreeViewTester
[C#]
new public TreeViewTester this[
   int index
] {get;}

Parameters

index
The index of the TreeViewTester.

Property Value

The ControlTester at the specified index.

Remarks

This was added to support the ability to find controls where their name is not unique. If all of your controls are uniquely named (I recommend this) then you will not need this.

See Also

TreeViewTester Class | NUnit.Extensions.Forms Namespace