NUnitForms Class Library

ButtonTester.Item Property

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

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

Parameters

index
The index of the ButtonTester.

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

ButtonTester Class | NUnit.Extensions.Forms Namespace