ItemList

Description

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.

ItemList(TRow) Class

Namespace: Progile.TRIO.BaseModel Assembly: Progile.TRIO.BaseModel (in Progile.TRIO.BaseModel.dll)

Type Parameters:

Type Parameter

Description

TRow

The type of row that shall be used for the list.

Inheritance Hierarchy:

Object Progile.TRIO.BaseModel.OnScreenElement Progile.TRIO.BaseModel.ItemList<TRow>

Constructors

ItemList(ITester, string, ImageReference, IImageFilter[ ])

Syntax:

public ItemList(
	ITester tester,
	string displayName,
	ImageReference imageReference,
	params IImageFilter[] filters
)

Parameter

Description

tester

The tester interface.

displayName

imageReference

filters

ItemList(ITester, string, string, IImageFilter[ ])

Syntax:

public ItemList(
	ITester tester,
	string displayName,
	string searchText,
	params IImageFilter[] filters
)

Parameter

Description

tester

The tester interface.

displayName

searchText

filters

Methods

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.

Properties

Name

Description

Rectangle that contains the whole list.

Gets the Select filter for the list.

Gets or sets the scroller for the list.

Last updated