Search Results for

    Show / Hide Table of Contents

    Class InAppNotification

    Defines a wrapper for the Windows Community Toolkit InAppNotification control.

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

    Constructors

    | Improve this Doc View Source

    InAppNotification(WindowsElement)

    Initializes a new instance of the InAppNotification class.

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

    The reference.

    Properties

    | Improve this Doc View Source

    DismissButton

    Gets the dismiss button.

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

    Message

    Gets the message displayed.

    Note, this only works if the Content is based on a or if the ContentTemplate includes a TextBlock element with the message.

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

    Methods

    | Improve this Doc View Source

    Dismiss()

    Dismissed the in-app notification.

    Declaration
    public virtual void Dismiss()

    Operators

    | Improve this Doc View Source

    Implicit(AppiumWebElement to InAppNotification)

    Allows conversion of a to the InAppNotification without direct casting.

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

    The .

    Returns
    Type Description
    InAppNotification

    The InAppNotification.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to InAppNotification)

    Allows conversion of a to the InAppNotification without direct casting.

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

    The .

    Returns
    Type Description
    InAppNotification

    The InAppNotification.

    | Improve this Doc View Source

    Implicit(WindowsElement to InAppNotification)

    Allows conversion of a to the InAppNotification without direct casting.

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

    The .

    Returns
    Type Description
    InAppNotification

    The InAppNotification.

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