Search Results for

    Show / Hide Table of Contents

    Class InfoBar

    Defines a wrapper for the WinUI InfoBar control.

    Inheritance
    System.Object
    WindowsElementWrapper
    InfoBar
    Inherited Members
    WindowsElementWrapper.Driver
    WindowsElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    WindowsElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Windows.Elements.WinUI
    Assembly: Legerity.WinUI.dll
    Syntax
    public class InfoBar : WindowsElementWrapper

    Constructors

    | Improve this Doc View Source

    InfoBar(WindowsElement)

    Initializes a new instance of the InfoBar class.

    Declaration
    public InfoBar(WindowsElement element)
    Parameters
    Type Name Description
    WindowsElement element

    The reference.

    Properties

    | Improve this Doc View Source

    CloseButton

    Gets the element associated with the close Button.

    Declaration
    public virtual Button CloseButton { get; }
    Property Value
    Type Description
    Button
    | Improve this Doc View Source

    IsOpen

    Gets a value indicating whether the info bar is open.

    Declaration
    public virtual bool IsOpen { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Message

    Gets the message of the info bar.

    Declaration
    public virtual string Message { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    MessageTextBlock

    Gets the element associated with the message TextBlock.

    Declaration
    public virtual TextBlock MessageTextBlock { get; }
    Property Value
    Type Description
    TextBlock
    | Improve this Doc View Source

    Title

    Gets the title of the info bar.

    Declaration
    public virtual string Title { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    TitleTextBlock

    Gets the element associated with the title TextBlock.

    Declaration
    public virtual TextBlock TitleTextBlock { get; }
    Property Value
    Type Description
    TextBlock

    Methods

    | Improve this Doc View Source

    Close()

    Closes the info bar.

    Declaration
    public virtual void Close()

    Operators

    | Improve this Doc View Source

    Implicit(AppiumWebElement to InfoBar)

    Allows conversion of a to the InfoBar without direct casting.

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

    The .

    Returns
    Type Description
    InfoBar

    The InfoBar.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to InfoBar)

    Allows conversion of a to the InfoBar without direct casting.

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

    The .

    Returns
    Type Description
    InfoBar

    The InfoBar.

    | Improve this Doc View Source

    Implicit(WindowsElement to InfoBar)

    Allows conversion of a to the InfoBar without direct casting.

    Declaration
    public static implicit operator InfoBar(WindowsElement element)
    Parameters
    Type Name Description
    WindowsElement element

    The .

    Returns
    Type Description
    InfoBar

    The InfoBar.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps