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