ItemList
Class for Lists, basically a table with only a single column. Can be instantiated directly, however the ListRect Property should be set. Can be used with provided Row or inherited implementation of Row.
Namespace: Progile.TRIO.BaseModel
Assembly: Progile.TRIO.BaseModel (in Progile.TRIO.BaseModel.dll)
Type Parameter | Description |
TRow | The type of row that shall be used for the list. |
Syntax:
public ItemList(
ITester tester,
string displayName,
ImageReference imageReference,
params IImageFilter[] filters
)
Parameter | Description |
tester | The tester interface. |
displayName | Type: String
The name of the list that will be used for logging and reporting of exceptions (customer facing). |
imageReference | |
filters | Type: IImageFilter[ ]
Typically a Select filter indicating the area of interest for the image search. |
Syntax:
public ItemList(
ITester tester,
string displayName,
string searchText,
params IImageFilter[] filters
)
Parameter | Description |
tester | The tester interface. |
displayName | Type: String
The name of the list that will be used for logging and reporting of exceptions (customer facing). |
searchText | |
filters | Type: IImageFilter[ ]
Typically a Select filter indicating the area of interest for the image search. |
Name | Description |
Searches a specific row based on a text or image search in the list (includes scrolling). By default, method throws an exception if it cannot find the expected row. If returnNullInsteadOfFail is true, it returns null instead of throwing the exception. | |
Returns a bool whether an item is in the list. The foundRow is returned as an out parameter so it can be used for following interactions. Row will be null, if the item is not in the list. | |
Returns a bool whether an item is in the list. |
Name | Description |
Rectangle that contains the whole list. | |
Gets the Select filter for the list. | |
Gets or sets the scroller for the list. |
Last modified 2yr ago