Class TextBox
Defines a
Inherited Members
Namespace: Legerity.Uno.Elements
Assembly: Legerity.Uno.dll
Syntax
public class TextBox : UnoElementWrapper
Constructors
| Improve this Doc View SourceTextBox(IWebElement)
Initializes a new instance of the TextBox class.
Declaration
public TextBox(IWebElement element)
Parameters
Type | Name | Description |
---|---|---|
IWebElement | element | The |
TextBox(RemoteWebElement)
Initializes a new instance of the TextBox class.
Declaration
public TextBox(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Properties
| Improve this Doc View SourceInputElement
Gets the element associated with the text box input.
Declaration
public virtual RemoteWebElement InputElement { get; }
Property Value
Type | Description |
---|---|
RemoteWebElement |
IsReadonly
Gets a value indicating whether the text box is in a readonly state.
Declaration
public virtual bool IsReadonly { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Text
Gets the text value of the text box.
Declaration
public virtual string Text { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceAppendText(String)
Appends the specified text to the text box.
Declaration
public virtual void AppendText(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to append. |
ClearText()
Clears the text from the text box.
Declaration
public virtual void ClearText()
SetText(String)
Sets the text of the text box to the specified text.
Declaration
public virtual void SetText(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to display. |
Operators
| Improve this Doc View SourceImplicit(RemoteWebElement to TextBox)
Allows conversion of a
Declaration
public static implicit operator TextBox(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
TextBox | The TextBox. |