Search Results for

    Show / Hide Table of Contents

    Class Expander

    Defines a wrapper for the Windows Community Toolkit Expander control.

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

    Constructors

    | Improve this Doc View Source

    Expander(WindowsElement)

    Initializes a new instance of the Expander class.

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

    The reference.

    Properties

    | Improve this Doc View Source

    IsExpanded

    Gets a value indicating whether the expander has the content expanded (visible).

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

    ToggleButton

    Gets the ToggleButton associated with the expander.

    Declaration
    public virtual ToggleButton ToggleButton { get; }
    Property Value
    Type Description
    ToggleButton

    Methods

    | Improve this Doc View Source

    Collapse()

    Collapses the content of the expander.

    Declaration
    public virtual void Collapse()
    | Improve this Doc View Source

    Expand()

    Expands the content of the expander.

    Declaration
    public virtual void Expand()

    Operators

    | Improve this Doc View Source

    Implicit(AppiumWebElement to Expander)

    Allows conversion of a to the Expander without direct casting.

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

    The .

    Returns
    Type Description
    Expander

    The Expander.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to Expander)

    Allows conversion of a to the Expander without direct casting.

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

    The .

    Returns
    Type Description
    Expander

    The Expander.

    | Improve this Doc View Source

    Implicit(WindowsElement to Expander)

    Allows conversion of a to the Expander without direct casting.

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

    The .

    Returns
    Type Description
    Expander

    The Expander.

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