NUnitForms Class Library

LabelTester.Item Property

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

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

Parameters

index
The index of the LabelTester.

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

LabelTester Class | NUnit.Extensions.Forms Namespace