Interface IComboBox
A .NET Windows Forms combo box.
public interface IComboBox : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject, ITestObject, ITestObjectDescriber
- Inherited Members
- Extension Methods
Properties
ErrorText
Returns the tooltip text of the error icon associated with this object.
string ErrorText { get; }
Property Value
Items
Returns the names of the items in this combo box.
ReadOnlyCollection<string> Items { get; }
Property Value
SelectedItem
Returns the selected item in this combo box.
string SelectedItem { get; }
Property Value
Methods
Select(int)
Selects an item from this combo box.
void Select(int index)
Parameters
indexint0-based index.
Select(string)
Selects an item from this combo box.
void Select(string item)
Parameters
itemstringThe item value.