InterfaceITextBox
Interface
Represents interface for the Xaml TextBox control wrappers.
Definition
Namespace:ArtOfTest.WebAii.Controls.Xaml
Assembly:ArtOfTest.WebAii.dll
Syntax:
cs-api-definition
public interface ITextBox : IFrameworkElement, ITargetElement
Derived Classes:
Inherited Members
Properties
Methods
SetText(bool, string, int, int, bool, bool)
Sets or types a new text into the TextBox.
Declaration
cs-api-definition
void SetText(bool simulateRealUser, string text, int keyPressTime, int keyHoldTime, bool fireKeyEvents, bool clearCurrentText)
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
fireKeyEvents
If true fires KeyDown and KeyUp events during simulated typing. Not compatible with Unicode text input.
clearCurrentText
If true clears text before simulated typing.