Links
Comment on page

Row

Description

Base class for Row used by TableBase.

Row Class

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

Inheritance Hierarchy:

Object Progile.TRIO.BaseModel.OnScreenElement Progile.TRIO.BaseModel.Row

Constructors

Row(ITester, ResultRectangle, ImageReference, IImageFilter[ ])

Row constructor, instantiates a new Row. Is typically not used directly but through TableBase.CreateRow().
Syntax:
public Row(
ITester tester,
ResultRectangle tableRect,
ImageReference imageReference,
params IImageFilter[] filters
)
Parameter
Description
tester
Type: ITester
The tester interface.
tableRect
Type: ResultRectangle The rectangle defining the table, typically TableBase.TableRect. Will be used to define the left and right edges of the row.
imageReference
Type: ImageReference The image reference that will be used to find the row in the table.
filters
Type: IImageFilter[ ] The filters used to find the row. Typically the Column.Select of the column in which we want to find the element that corresponds with the row.

Row(ITester, ResultRectangle, string, IImageFilter[ ])

Row constructor, instantiates a new Row. Is typically not used directly but through TableBase.CreateRow().
Syntax:
public Row(
ITester tester,
ResultRectangle tableRect,
string searchText,
params IImageFilter[] filters
)
Parameter
Description
tester
Type: ITester
The tester interface.
tableRect
Type: ResultRectangle The rectangle defining the table, typically TableBase.TableRect. Will be used to define the left and right edges of the row.
searchText
Type: String The search text that will be used to find the row in the table.
filters
Type: IImageFilter[ ] The filters used to find the row. Typically the Column.Select of the column in which we want to find the element that corresponds with the row.

Methods

Name
Description
HoverOver
Hovers mouse pointer over the row to "activate" it, e.g. to show icons that are only shown on hover
SelectRow
Selects the row by clicking in the row at the position of the element that was used to find the row.

Properties

Name
Description
Middle
Middle point of the rectangle defining the row.
Rectangle
ResultRectangle containing the whole row. Defined by DefineRow (not constructor!)
RowSelect
Select filter for the whole row.