LabelWithElementBase
Description
Abstract class to combine a label with an other element based on the relative position. Needs to be generically implemented for every element. See LabelWithCheckbox as an example.
LabelWithElementBase Class (abstract)
Namespace: Progile.TRIO.BaseModel Assembly: Progile.TRIO.BaseModel (in Progile.TRIO.BaseModel.dll)
Inheritance Hierarchy:
Object Progile.TRIO.BaseModel.OnScreenElement Progile.TRIO.BaseModel.LabelWithElementBase
Constructors
LabelWithElementBase(ITester, string, RelativePosition, ImageReference, int, int, IImageFilter[ ])
Syntax:
Parameter
Description
tester
The tester interface.
displayName
elementPosition
imageReferenceForLabel
gridWidth
lineHeight
The minimum Height of the line with the element.
filters
The filters to find the label.
Exceptions:
Exception
Condition
ArgumentException
lineHeight needs to be set if elementPosition is Above or Under gridWidth needs to be set if elementPosition is Left or Right
LabelWithElementBase(ITester, string, RelativePosition, string, int, int, IImageFilter[ ])
Syntax:
Parameter
Description
tester
The tester interface.
displayName
elementPosition
searchTextForLabel
gridWidth
lineHeight
The minimum Height of the line with the element.
filters
The filters to find the label.
Exceptions:
Exception
Condition
ArgumentException
lineHeight needs to be set if elementPosition is Above or Under gridWidth needs to be set if elementPosition is Left or Right
Properties
Name
Description
The margin that is added to the boundary of the searchresult for the label to define the SearchRectForElement.
Last updated