Interface IComboBox
A standard Windows combo box.
public interface IComboBox : IUiObjectWithLayoutInfo, IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber
- Inherited Members
- Extension Methods
Properties
Items
The collection containing the names of all items in the combo box.
ReadOnlyCollection<string> Items { get; }
Property Value
SelectedItem
The selected item in the combo box.
string SelectedItem { get; }
Property Value
Methods
Open()
Opens the combo box.
void Open()
Select(int)
Selects an item from the combo box based on a numerical index.
void Select(int index)
Parameters
indexintNumeric, 0-based, index of the item.
Select(string)
Selects an item from the combo box based on a string.
void Select(string item)
Parameters
itemstringThe item value.