BaseScreen
Last updated
Was this helpful?
Last updated
Was this helpful?
The BaseScreen is an abstract class that represents a section of the UI that contains other UI elements (such as , etc). The class offers a property that can be used to limit the search of the contained UI elements to this UI section. Since it inherits from itself, we can on the BaseScreen to ensure the corresponding UI page is shown.
Since the constructor is part of the generated class and should not be changed by the user, the partial void ConfigureElementProperties()
method allows to set properties of the screen or generated elements or instantitate additional elements. The method will be executed as part of the constructor.
Through the interface the BaseScreen has access to important properties of the App itself. Therefore the App or another AppBasics property needs to be passed to the constructor when instantiating a BaseScreen.
Namespace: Progile.TRIO.BaseModel Assembly: Progile.TRIO.BaseModel (in Progile.TRIO.BaseModel.dll)
Progile.TRIO.BaseModel.BaseScreen
Syntax:
Parameter
Description
appBasics
displayName
screenOpenImage
Name
Description
Name
Description
Name
Description
AppBasics
The AppBasics that offers access to the ITester, the rectangle of the containing Window and an implementation.
Type: The AppBasics that offers access to the , the rectangle of the window containing the application and an implementation.
Type: The name of the element that will be used for logging and reporting of exceptions (customer facing).
Type: The reference to the image that is searched for on and determines if the correct screen is displayed.
​
Activates this screen to make it ready to interact with it. By default just calls , but can be extended to maybe additionally give the focus to this screen.
Uses the of the screen to scroll to the provided element.
Specifies whether a of an element of this screen will scroll to the element using the or not.
Global default value of the property, in the case that nothing else is configured.
Overrides and defaults to if not set.
A Filter containing the whole screen. It is recommended to use this as Filter for contained Elements. Defaults to if not set.
The scroller that will be used to scroll on this screen. By default is used to set the scroller.