Table of Contents

Interface IComboBox

Namespace
HP.LFT.SDK.WinForms
Assembly
HP.LFT.SDK.dll

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

string

Items

Returns the names of the items in this combo box.

ReadOnlyCollection<string> Items { get; }

Property Value

ReadOnlyCollection<string>

SelectedItem

Returns the selected item in this combo box.

string SelectedItem { get; }

Property Value

string

Methods

Select(int)

Selects an item from this combo box.

void Select(int index)

Parameters

index int

0-based index.

Select(string)

Selects an item from this combo box.

void Select(string item)

Parameters

item string

The item value.