Class TextView
Defines a
Implements
IElementWrapper<AndroidElement>
Inherited Members
Namespace: Legerity.Android.Elements.Core
Assembly: Legerity.Android.dll
Syntax
public class TextView : AndroidElementWrapper, IElementWrapper<AndroidElement>
Constructors
| Improve this Doc View SourceTextView(AndroidElement)
Initializes a new instance of the TextView class.
Declaration
public TextView(AndroidElement element)
Parameters
Type | Name | Description |
---|---|---|
AndroidElement | element | The |
Properties
| Improve this Doc View SourceText
Gets the text value of the text view.
Declaration
public virtual string Text { get; }
Property Value
Type | Description |
---|---|
System.String |
Operators
| Improve this Doc View SourceImplicit(AndroidElement to TextView)
Allows conversion of a
Declaration
public static implicit operator TextView(AndroidElement element)
Parameters
Type | Name | Description |
---|---|---|
AndroidElement | element | The |
Returns
Type | Description |
---|---|
TextView | The TextView. |
Implicit(AppiumWebElement to TextView)
Allows conversion of a
Declaration
public static implicit operator TextView(AppiumWebElement element)
Parameters
Type | Name | Description |
---|---|---|
AppiumWebElement | element | The |
Returns
Type | Description |
---|---|
TextView | The TextView. |
Implicit(RemoteWebElement to TextView)
Allows conversion of a
Declaration
public static implicit operator TextView(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
TextView | The TextView. |