Search Results for

    Show / Hide Table of Contents

    Class TextView

    Defines a wrapper for the core Android TextView control.

    Inheritance
    System.Object
    ElementWrapper<AndroidElement>
    AndroidElementWrapper
    TextView
    Implements
    IElementWrapper<AndroidElement>
    Inherited Members
    AndroidElementWrapper.Driver
    AndroidElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    AndroidElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    ElementWrapper<AndroidElement>.Element
    ElementWrapper<AndroidElement>.ElementDriver
    ElementWrapper<AndroidElement>.IsVisible
    ElementWrapper<AndroidElement>.IsEnabled
    ElementWrapper<AndroidElement>.Click()
    ElementWrapper<AndroidElement>.GetAttribute(String)
    ElementWrapper<AndroidElement>.FindElement(By)
    ElementWrapper<AndroidElement>.VerifyElementNotShown(By)
    ElementWrapper<AndroidElement>.VerifyElementShown(By)
    ElementWrapper<AndroidElement>.VerifyElementShown(By, Nullable<TimeSpan>)
    ElementWrapper<AndroidElement>.VerifyElementsShown(By)
    ElementWrapper<AndroidElement>.VerifyElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Android.Elements.Core
    Assembly: Legerity.Android.dll
    Syntax
    public class TextView : AndroidElementWrapper, IElementWrapper<AndroidElement>

    Constructors

    | Improve this Doc View Source

    TextView(AndroidElement)

    Initializes a new instance of the TextView class.

    Declaration
    public TextView(AndroidElement element)
    Parameters
    Type Name Description
    AndroidElement element

    The reference.

    Properties

    | Improve this Doc View Source

    Text

    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 Source

    Implicit(AndroidElement to TextView)

    Allows conversion of a to the TextView without direct casting.

    Declaration
    public static implicit operator TextView(AndroidElement element)
    Parameters
    Type Name Description
    AndroidElement element

    The .

    Returns
    Type Description
    TextView

    The TextView.

    | Improve this Doc View Source

    Implicit(AppiumWebElement to TextView)

    Allows conversion of a to the TextView without direct casting.

    Declaration
    public static implicit operator TextView(AppiumWebElement element)
    Parameters
    Type Name Description
    AppiumWebElement element

    The .

    Returns
    Type Description
    TextView

    The TextView.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to TextView)

    Allows conversion of a to the TextView without direct casting.

    Declaration
    public static implicit operator TextView(RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The .

    Returns
    Type Description
    TextView

    The TextView.

    Implements

    IElementWrapper<TElement>

    Extension Methods

    AndroidElementWrapperExtensions.TryWaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32, Action<Exception>)
    AndroidElementWrapperExtensions.WaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps