Search Results for

    Show / Hide Table of Contents

    Class TextBlock

    Defines a wrapper for the core TextBlock control.

    Inheritance
    System.Object
    UnoElementWrapper
    TextBlock
    Inherited Members
    UnoElementWrapper.Element
    UnoElementWrapper.Driver
    UnoElementWrapper.IsEnabled
    UnoElementWrapper.IsVisible
    UnoElementWrapper.FindElement(By)
    UnoElementWrapper.FindElements(By)
    UnoElementWrapper.Click()
    UnoElementWrapper.GetAttribute(String)
    UnoElementWrapper.VerifyElementShown(By)
    UnoElementWrapper.VerifyElementShown(By, Nullable<TimeSpan>)
    UnoElementWrapper.VerifyElementsShown(By)
    UnoElementWrapper.VerifyElementsShown(By, Nullable<TimeSpan>)
    UnoElementWrapper.VerifyElementNotShown(By)
    UnoElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    UnoElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Uno.Elements
    Assembly: Legerity.Uno.dll
    Syntax
    public class TextBlock : UnoElementWrapper

    Constructors

    | Improve this Doc View Source

    TextBlock(IWebElement)

    Initializes a new instance of the TextBlock class.

    Declaration
    public TextBlock(IWebElement element)
    Parameters
    Type Name Description
    IWebElement element

    The reference.

    | Improve this Doc View Source

    TextBlock(RemoteWebElement)

    Initializes a new instance of the TextBlock class.

    Declaration
    public TextBlock(RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The reference.

    Properties

    | Improve this Doc View Source

    Text

    Gets the text value of the text block.

    Declaration
    public virtual string Text { get; }
    Property Value
    Type Description
    System.String

    Operators

    | Improve this Doc View Source

    Implicit(RemoteWebElement to TextBlock)

    Allows conversion of a to the TextBlock without direct casting.

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

    The .

    Returns
    Type Description
    TextBlock

    The TextBlock.

    Extension Methods

    ElementWrapperExtensions.WaitUntil<TElementWrapper>(TElementWrapper, Func<TElementWrapper, Boolean>, Nullable<TimeSpan>)
    ElementWrapperExtensions.FindWebElementByXamlType(UnoElementWrapper, String)
    ElementWrapperExtensions.FindElementByXamlName(UnoElementWrapper, String)
    ElementWrapperExtensions.FindElementByAutomationId(UnoElementWrapper, String)
    ElementWrapperExtensions.VerifyNameOrAutomationIdEquals(UnoElementWrapper, String)
    ElementWrapperExtensions.VerifyNameOrAutomationIdContains(UnoElementWrapper, String)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps