Table of Contents

Interface IComboBox

Namespace
HP.LFT.SDK.StdWin
Assembly
HP.LFT.SDK.dll

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

ReadOnlyCollection<string>

SelectedItem

The selected item in the combo box.

string SelectedItem { get; }

Property Value

string

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

index int

Numeric, 0-based, index of the item.

Select(string)

Selects an item from the combo box based on a string.

void Select(string item)

Parameters

item string

The item value.