Interface
IComboBox

Represents interface for the Xaml ComboBox control wrappers.

Definition

Namespace:ArtOfTest.WebAii.Controls.Xaml

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public interface IComboBox : ISelector, IFrameworkElement, ITargetElement

Derived Classes: ComboBoxComboBox

Inherited Members ISelector.SelectedIndexIFrameworkElement.CastAs<T>()IFrameworkElement.Parent<T>()IFrameworkElement.SetProxy(bool)IFrameworkElement.SetUid(string)IFrameworkElement.SetFindInfo(VisualFindInfo)IFrameworkElement.SetXamlTag(string)IFrameworkElement.AssignReference(AutomationReference)IFrameworkElement.SetFocus()IFrameworkElement.GetAutomationProperty(string)IFrameworkElement.GetProperty<T>(string)IFrameworkElement.GetPropertyTypeSafe(string)IFrameworkElement.SetProperty(string, object)IFrameworkElement.ScrollToVisible()IFrameworkElement.UserIFrameworkElement.FindIFrameworkElement.WaitIFrameworkElement.NameIFrameworkElement.AbsoluteSiblingTagIndexIFrameworkElement.ActualWidthIFrameworkElement.ActualHeightIFrameworkElement.TextIFrameworkElement.ToolTipTextIFrameworkElement.TextBlockContentIFrameworkElement.TextLiteralContentIFrameworkElement.ComputedVisibilityIFrameworkElement.UidITargetElement.Match(IFindExpression)ITargetElement.SetDepth(int)ITargetElement.AddChildNode(ITargetElement)ITargetElement.SetClosingTag(ITargetElement)ITargetElement.GetChildren()ITargetElement.GetParent()ITargetElement.GetHostParent()ITargetElement.SetParent(ITargetElement)ITargetElement.Refresh()ITargetElement.GetUniqueHashCode()ITargetElement.GetRectangle()ITargetElement.Capture()ITargetElement.CaptureImage()ITargetElement.GetStringPresentation()ITargetElement.TechnologyTypeITargetElement.DepthITargetElement.IsTestRegionITargetElement.ParsedElementITargetElement.Host

Properties

IsDropDownOpen

Get/set whether the drop down is open.

Declaration

cs-api-definition
bool IsDropDownOpen { get; set; }

Property Value

bool

ItemsPopup

Get the popup containing the list with combo box items.

Declaration

cs-api-definition
FrameworkElement ItemsPopup { get; }

Property Value

FrameworkElement

Methods

OpenDropDown(bool)

Open the combobox drop down popup.

Declaration

cs-api-definition
void OpenDropDown(bool simulateRealUser)

Parameters

simulateRealUser

bool

Whether to simulate real user click action or just change the drop down state via automation property.

SelectItemByIndex(bool, int)

Select a combobox item by given index.

Declaration

cs-api-definition
void SelectItemByIndex(bool simulateRealUser, int index)

Parameters

simulateRealUser

bool

Whether to simulate selection by real user click or just change the selected index.

index

int

The index of the item to select.

SelectItemByIndex(bool, int, bool)

Select a combobox item by given index.

Declaration

cs-api-definition
void SelectItemByIndex(bool simulateRealUser, int index, bool openDropDownBeforeSelection)

Parameters

simulateRealUser

bool

Whether to simulate selection by real user click or just change the selected index.

index

int

The index of the item to select.

openDropDownBeforeSelection

bool

Whether to open the dropdown automatically.

SelectItemByText(bool, string)

Select a combo box item by given text.

Declaration

cs-api-definition
void SelectItemByText(bool simulateRealUser, string text)

Parameters

simulateRealUser

bool

Whether to simulate selection by real user click or just change the selected state of the item.

text

string

The text of the item to select.

SelectItemByText(bool, string, bool)

Select a combo box item by given text.

Declaration

cs-api-definition
void SelectItemByText(bool simulateRealUser, string text, bool openDropDownBeforeSelection)

Parameters

simulateRealUser

bool

Whether to simulate selection by real user click or just change the selected state of the item.

text

string

The text of the item to select.

openDropDownBeforeSelection

bool

Whether to open the dropdown automatically.