Search Results for

    Show / Hide Table of Contents

    Class DropDownList

    Defines a wrapper for the MADE.NET UWP DropDownList control.

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

    Constructors

    | Improve this Doc View Source

    DropDownList(WindowsElement)

    Initializes a new instance of the DropDownList class.

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

    The reference.

    Properties

    | Improve this Doc View Source

    DropDown

    Gets the ListView element associated with the drop down content.

    Declaration
    public virtual ListView DropDown { get; }
    Property Value
    Type Description
    ListView

    Methods

    | Improve this Doc View Source

    IsDropDownOpen()

    Determines whether the drop down is open.

    Declaration
    public virtual bool IsDropDownOpen()
    Returns
    Type Description
    System.Boolean

    True if the drop down is open; otherwise, false.

    | Improve this Doc View Source

    OpenDropDown()

    Opens the drop down if it is not already open.

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

    SelectItem(String)

    Selects an item in the combo-box with the specified item name.

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

    The name of the item to select.

    | Improve this Doc View Source

    SelectItemByPartialName(String)

    Selects an item in the combo-box with the specified partial item name.

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

    The partial name match for the item to select.

    Operators

    | Improve this Doc View Source

    Implicit(AppiumWebElement to DropDownList)

    Allows conversion of a to the DropDownList without direct casting.

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

    The .

    Returns
    Type Description
    DropDownList

    The DropDownList.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to DropDownList)

    Allows conversion of a to the DropDownList without direct casting.

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

    The .

    Returns
    Type Description
    DropDownList

    The DropDownList.

    | Improve this Doc View Source

    Implicit(WindowsElement to DropDownList)

    Allows conversion of a to the DropDownList without direct casting.

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

    The .

    Returns
    Type Description
    DropDownList

    The DropDownList.

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