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