DropdownMenu

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

Inheritance Hierarchy:

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

Constructors

Creates a new DropdownMenu instance. Instead of the normal Dropdown where we identify the label and then detect the Textbox at the Hotspot location, for a DropdownMenu the Label is clicked (or hovered, depending on the parameter: hoverToExpand) directly to expand the menu list.

Syntax:

public DropdownMenu(
        IAppBasics appBasics, 
        string displayName, 
        ImageReference imageReference, 
        bool hoverToExpand = false, 
        bool opensOnSide = false, 
        params IImageFilter[] filters)

Parameter

Description

appBasics

displayName

imageReference

hoverToExpand

[opensOnSide]

[filters]

Creates a new DropdownMenu instance. Instead of the normal Dropdown where we identify the label and then detect the Textbox at the Hotspot location, for a DropdownMenu the Label is clicked (or hovered, depending on the parameter: hoverToExpand) directly to expand the menu list.

Syntax:

public DropdownMenu(
        IAppBasics appBasics, 
        string displayName, 
        string menuLabelText, 
        bool hoverToExpand = false, 
        bool opensOnSide = false, 
        params IImageFilter[] filters)

Parameter

Description

appBasics

displayName

menuLabelText

hoverToExpand

[opensOnSide]

[filters]

Methods

Name

Description

Opens the dropdown list and returns a rectangle for the list (based on rectangle with changes after expanding dropdown list).

Properties

Name

Description

When opening the dropdown, how big the Filter should be where we look for changes. Decrease when too many changes are found, increase when needed change is not found. Used Filter is also shown in log when registering for update check before the click. Default: Size(100, 50)

Last updated

Was this helpful?