Dropdown Properties

BlurKernelForDetectChanges

The size of the kernel that is used to blur the images when detecting the changes to define the list rectangle. Size 0 means no blur, a common value for moderate blurring is 8 (approx. the size of a character). Default: 0

Syntax: public int BlurKernelForDetectChanges { get; set; }

The image detection parameters that are used to find an image entry in the dropdown list.

Syntax: public ImageDetectionParameters DropdownListImageParas { get; }

The OCR parameters that are used to find a text entry in the dropdown list. By default also these paras are used to verify a selected element, but TextBox.TextBoxOcrParas can be set separately.

Syntax: public OcrEngineParameters DropdownListOcrParas { get; }

ListBorder

Width of the border of the list that will be cut away on all sides to remove a border from the image that is passed to the OCR algorithm. Default: 3

Syntax: public int ListBorder { get; set; }

MoveMouseListAfterOpen

Determines whether the mouse should be moved in the middle of the dropdown list in order to focus the scroller of the list. Can cause problems with list entries that have tooltips. Default: false

Syntax: public bool MoveMouseListAfterOpen { get; set; }

SearchRectangleForList

The search rectangle in which changes are detected to define the list rectangle. Default: AppBasic.Window

Syntax: public Select SearchRectangleForList { get; set; }

TextBox

Textbox of the dropdown. Is also used to define the dropdown list rectangle. Rectangle of TextBox is defined when first used by visible closed border around the Hotspot of the provided image.

Syntax: public TextBox TextBox { get; }

ToleranceForDetectChanges

The tolerance value for changes that shall be ignored when detecting the changes to define the list rectangle. Default 0.04

Syntax: public double ToleranceForDetectChanges { get; set; }

Protected Properties

The dropdown button used to open the dropdownList. Either coming from provided buttonImage in Dropdown ctor or just the Textbox itself (works in most dropdowns).

Syntax: public Button DropdownButton { get; }

Last updated