Interface
IAutoCompleteBox

Represents interface for the Xaml AutoCompleteBox control wrappers.

Definition

Namespace:ArtOfTest.WebAii.Controls.Xaml

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public interface IAutoCompleteBox : IControl, IFrameworkElement, ITargetElement

Derived Classes: AutoCompleteBoxAutoCompleteBox

Inherited Members IControl.IsEnabledIFrameworkElement.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

Selector

Get the drop down list box element holding the items to select.

Declaration

cs-api-definition
IListBox Selector { get; }

Property Value

IListBox

Methods

Select(bool, int)

Selects item in the drop down if open.

Declaration

cs-api-definition
void Select(bool simulateRealUser, int itemIndex)

Parameters

simulateRealUser

bool

If true, simulates real click, otherwise changes selection.

itemIndex

int

The index of the item to select.

Select(bool, string)

Selects item in the drop down if open.

Declaration

cs-api-definition
void Select(bool simulateRealUser, string itemText)

Parameters

simulateRealUser

bool

If true, simulates real click, otherwise changes selection.

itemText

string

The text of the item to select.

SetText(bool, string, int, int)

Sets or types a new text into the AutoCompleteBox.

Declaration

cs-api-definition
void SetText(bool simulateRealUser, string text, int keyPressTime, int keyHoldTime)

Parameters

simulateRealUser

bool

If true, simulates typing, otherwise simply replaces the text.

text

string

The text to set/type.

keyPressTime

int

The delay between each press

keyHoldTime

int

The delay between pressing and releasing each key