ClassAutoCompleteBox
Wraps an AutoCompleteBox element.
Definition
Namespace:ArtOfTest.WebAii.Controls.Xaml.Wpf
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class AutoCompleteBox : Control, IAutomationPeer, IPeerConverter, IAutoCompleteBox, IControl, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementWpfTestElementControlAutoCompleteBox
Implements:
Inherited Members
Constructors
AutoCompleteBox()
Declaration
public AutoCompleteBox()
Fields
FilterModeProperty
Declaration
public static AutomationProperty FilterModeProperty
Field Value
IsDropDownOpenProperty
Declaration
public static AutomationProperty IsDropDownOpenProperty
Field Value
IsTextCompletionEnabledProperty
Declaration
public static AutomationProperty IsTextCompletionEnabledProperty
Field Value
MaxDropDownHeightProperty
Declaration
public static AutomationProperty MaxDropDownHeightProperty
Field Value
MinimumPopulateDelayProperty
Declaration
public static AutomationProperty MinimumPopulateDelayProperty
Field Value
MinimumPrefixLengthProperty
Declaration
public static AutomationProperty MinimumPrefixLengthProperty
Field Value
SearchTextProperty
Declaration
public static AutomationProperty SearchTextProperty
Field Value
TextProperty
Declaration
public static AutomationProperty TextProperty
Field Value
Properties
FilterMode
Declaration
public AutoCompleteFilterMode FilterMode { get; set; }
Property Value
Selector
Get the drop down list box element holding the items to select.
Declaration
public virtual IListBox Selector { get; }
Property Value
Implements
Text
Gets the first text block text.
Methods
GetRealType()
Gets the real object type. This property returns string.empty on FrameworkElement and all subclasses that inherit from it.
Select(bool, int)
Selects item in the drop down if open.
Select(bool, string)
Selects item in the drop down if open.
SetText(bool, string, int, int)
Sets or types a new text into the TextBox.
Declaration
public void SetText(bool simulateRealUser, string text, int keyPressTime, int keyHoldTime)
Parameters
simulateRealUser
If true, simulates typing, otherwise simply replaces the text.
text
The text to set/type.
keyPressTime
The delay between each press
keyHoldTime
The delay between pressing and releasing each key
Implements