InterfaceIComboBox
Represents interface for the Xaml ComboBox control wrappers.
Definition
Namespace:ArtOfTest.WebAii.Controls.Xaml
Assembly:ArtOfTest.WebAii.dll
Syntax:
public interface IComboBox : ISelector, IFrameworkElement, ITargetElement
Derived Classes:
Inherited Members
Properties
IsDropDownOpen
Get/set whether the drop down is open.
ItemsPopup
Get the popup containing the list with combo box items.
Methods
OpenDropDown(bool)
Open the combobox drop down popup.
Declaration
void OpenDropDown(bool simulateRealUser)
Parameters
simulateRealUser
Whether to simulate real user click action or just change the drop down state via automation property.
SelectItemByIndex(bool, int)
Select a combobox item by given index.
SelectItemByIndex(bool, int, bool)
Select a combobox item by given index.
Declaration
void SelectItemByIndex(bool simulateRealUser, int index, bool openDropDownBeforeSelection)
Parameters
simulateRealUser
Whether to simulate selection by real user click or just change the selected index.
index
The index of the item to select.
openDropDownBeforeSelection
Whether to open the dropdown automatically.
SelectItemByText(bool, string)
Select a combo box item by given text.
SelectItemByText(bool, string, bool)
Select a combo box item by given text.
Declaration
void SelectItemByText(bool simulateRealUser, string text, bool openDropDownBeforeSelection)
Parameters
simulateRealUser
Whether to simulate selection by real user click or just change the selected state of the item.
text
The text of the item to select.
openDropDownBeforeSelection
Whether to open the dropdown automatically.