Search Results for

    Show / Hide Table of Contents

    Class BladeView

    Defines a wrapper for the Windows Community Toolkit BladeView control.

    Inheritance
    System.Object
    WindowsElementWrapper
    BladeView
    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 BladeView : WindowsElementWrapper

    Constructors

    | Improve this Doc View Source

    BladeView(WindowsElement)

    Initializes a new instance of the BladeView class.

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

    The reference.

    Properties

    | Improve this Doc View Source

    Blades

    Gets the UI components associated with the child blades.

    Declaration
    public virtual IEnumerable<BladeViewItem> Blades { get; }
    Property Value
    Type Description
    IEnumerable<BladeViewItem>

    Methods

    | Improve this Doc View Source

    CloseBlade(String)

    Closes an open blade by name.

    Declaration
    public virtual void CloseBlade(string name)
    Parameters
    Type Name Description
    System.String name

    The name of the blade to close.

    | Improve this Doc View Source

    CloseBladeByPartialName(String)

    Closes an open blade by partial name.

    Declaration
    public virtual void CloseBladeByPartialName(string partialName)
    Parameters
    Type Name Description
    System.String partialName

    The partial name of the blade to close.

    | Improve this Doc View Source

    GetBlade(String)

    Retrieves a BladeViewItem by the given name.

    Declaration
    public virtual BladeViewItem GetBlade(string name)
    Parameters
    Type Name Description
    System.String name

    The name of the blade to retrieve.

    Returns
    Type Description
    BladeViewItem

    A BladeViewItem instance if found; otherwise, null.

    | Improve this Doc View Source

    GetBladeByPartialName(String)

    Retrieves a BladeViewItem by the given partial name.

    Declaration
    public virtual BladeViewItem GetBladeByPartialName(string partialName)
    Parameters
    Type Name Description
    System.String partialName

    The partial name of the blade to retrieve.

    Returns
    Type Description
    BladeViewItem

    A BladeViewItem instance if found; otherwise, null.

    Operators

    | Improve this Doc View Source

    Implicit(AppiumWebElement to BladeView)

    Allows conversion of a to the BladeView without direct casting.

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

    The .

    Returns
    Type Description
    BladeView

    The BladeView.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to BladeView)

    Allows conversion of a to the BladeView without direct casting.

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

    The .

    Returns
    Type Description
    BladeView

    The BladeView.

    | Improve this Doc View Source

    Implicit(WindowsElement to BladeView)

    Allows conversion of a to the BladeView without direct casting.

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

    The .

    Returns
    Type Description
    BladeView

    The BladeView.

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