Column

Description

Base class for Column used by TableBase.

Column Class

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

Inheritance Hierarchy:

Object Progile.TRIO.BaseModel.OnScreenElement Progile.TRIO.BaseModel.Column

Constructors

Column constructor, instantiates and initializes a new Colum, also calls WaitFor in order to define the position on the screen. rightXCoord typically is the left boundary of the next column header or the right edge of the table; tableRect typically is the TableRect of the parent table.

Syntax:

public Column(
	ITester tester,
	string columnName,
	ImageReference columnTitleImage,
	int rightXCoord,
	ResultRectangle tableRect
)

Parameter

Description

tester

Type: ITester

The tester interface.

columnName

Type: String The name of the column that will be used for logging and reporting of exceptions (customer facing).

columnTitleImage

Type: ImageReference The image reference that will be used to locate the column on the screen. This image will also be used to define the left edge of the column.

rightXCoord

Type: Int32 The screen coordinate of the right edge of the column (typically the left boundary of the next column header or the right edge of the table). Will be used to define the rectangle for the column.

tableRect

Type: ResultRectangle The rectangle defining the table, typically TableBase.TableRect. Will be used to define the bottom of the table and also serves as Select filter to find the columnTitleImage.

Methods

Name

Description

Used by constructor to define the header rectangle. Could be called again to reinitialize after rearranging columns or similar.

Properties

Name

Description

Rectangle of the whole column, without the header.

Rectangle of the Column header (whole width of the column).

Select filter of the whole column, without the header.

Last updated