ClassDesktopComboBox
Represents combo box control.
Definition
Namespace:ArtOfTest.WebAii.DesktopAutomation.Controls
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class DesktopComboBox : DesktopControl
Inheritance: objectDesktopControlDesktopComboBox
Inherited Members
Constructors
DesktopComboBox()
Declaration
public DesktopComboBox()
Properties
CanSelectMultiple
Indicates whether multiple items can be selected.
IsCollapsed
Indicates whether control is collapsed or not.
IsSelectionRequired
Indicates whether item selection is required.
Methods
GetItems()
Get all items.
Declaration
public DesktopListViewItem[] GetItems()
Returns
Array of DesktopListViewItem.
GetSelectedItem()
Get currently selected item.
Declaration
public DesktopListViewItem GetSelectedItem()
Returns
Instance of DesktopListViewItem.
GetSelectedItems()
Get all selected item.
Declaration
public DesktopListViewItem[] GetSelectedItems()
Returns
Array of DesktopListViewItem.
InitControl(DesktopElement)
Initialize desktop control.
Declaration
protected override void InitControl(DesktopElement element)
Parameters
element
Underlying element.
Overrides
SelectByIndex(int)
Select item by index.
Declaration
public void SelectByIndex(int index)
Parameters
index
The index of the item.
SelectByValue(string)
Select item by value.
Declaration
public void SelectByValue(string value)
Parameters
value
The value of the item.