Dropdown

Description

The Dropdown class represents UI elements that are consisting of a text field (which can be editable or not) and a dropdown list that can be expanded by clicking in the text field or on an optional dropdown button. The dropdown list can include a scroller to scroll through the possible selections. The dropdown is identified on the screen by the Hotspot of the image given in the constructor, which should be placed within the text field. If there is no closed border around the text field, this implementation will not support this dropdown type.

The Dropdown object uses a TextBox object, a Button object and an ItemList with an optional Scroller.

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

Inheritance Hierarchy:

Object Progile.TRIO.BaseModel.OnScreenElement Progile.TRIO.BaseModel.Dropdown

Constructors

Creates a new Dropdown instance, that can be found with a text search for dropdownLabelText within the provided filters.

Syntax:

public Dropdown(
	IAppBasics appBasics, 
	string displayName, 
	string dropdownLabelText, 
	params IImageFilter[] filters
)

Creates a new Dropdown instance. Dropdown Textbox will be defined by the visible closed border around the Hotspot of the provided image. If an image for the Dropdown button is provided, it will be used to open the dropdown list, otherwise the dropdown is opened simply by clicking in the textbox.

Syntax:

public Dropdown(
	IAppBasics appBasics, 
	string displayName, 
	ImageReference imageReference, 
	bool useVisualSense, 
	params IImageFilter[] filters
)

Creates a new Dropdown instance. Dropdown Textbox will be defined by the visible closed border around the Hotspot of the provided image. If an image for the Dropdown button is provided, it will be used to open the dropdown list, otherwise the dropdown is opened simply by clicking in the textbox.

Syntax:

public Dropdown(
	IAppBasics appBasics,
	string displayName,
	ImageReference imageReference,
	ImageReference buttonImage, 
	bool useVisualSense,
	params IImageFilter[] filters
)

Methods

Properties

Protected properties

Last updated