Interface IComboBox
A .NET Windows Forms combo box.
Inherited Members
Namespace: HP.LFT.SDK.WinForms
Assembly: HP.LFT.SDK.dll
Syntax
public interface IComboBox : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject, ITestObject, ITestObjectDescriber
Properties
ErrorText
Returns the tooltip text of the error icon associated with this object.
Declaration
string ErrorText { get; }
Property Value
| Type | Description |
|---|---|
| string |
Items
Returns the names of the items in this combo box.
Declaration
ReadOnlyCollection<string> Items { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<string> |
SelectedItem
Returns the selected item in this combo box.
Declaration
string SelectedItem { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Select(int)
Selects an item from this combo box.
Declaration
void Select(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | 0-based index. |
Select(string)
Selects an item from this combo box.
Declaration
void Select(string item)
Parameters
| Type | Name | Description |
|---|---|---|
| string | item | The item value. |