Search Results for

    Show / Hide Table of Contents

    Class Spinner

    Defines a wrapper for the core Android Spinner control.

    Inheritance
    System.Object
    ElementWrapper<AndroidElement>
    AndroidElementWrapper
    Spinner
    Implements
    IElementWrapper<AndroidElement>
    Inherited Members
    AndroidElementWrapper.Driver
    AndroidElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    AndroidElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    ElementWrapper<AndroidElement>.Element
    ElementWrapper<AndroidElement>.ElementDriver
    ElementWrapper<AndroidElement>.IsVisible
    ElementWrapper<AndroidElement>.IsEnabled
    ElementWrapper<AndroidElement>.Click()
    ElementWrapper<AndroidElement>.GetAttribute(String)
    ElementWrapper<AndroidElement>.FindElement(By)
    ElementWrapper<AndroidElement>.VerifyElementNotShown(By)
    ElementWrapper<AndroidElement>.VerifyElementShown(By)
    ElementWrapper<AndroidElement>.VerifyElementShown(By, Nullable<TimeSpan>)
    ElementWrapper<AndroidElement>.VerifyElementsShown(By)
    ElementWrapper<AndroidElement>.VerifyElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Android.Elements.Core
    Assembly: Legerity.Android.dll
    Syntax
    public class Spinner : AndroidElementWrapper, IElementWrapper<AndroidElement>

    Constructors

    | Improve this Doc View Source

    Spinner(AndroidElement)

    Initializes a new instance of the Spinner class.

    Declaration
    public Spinner(AndroidElement element)
    Parameters
    Type Name Description
    AndroidElement element

    The reference.

    Properties

    | Improve this Doc View Source

    SelectedItem

    Gets the currently selected item.

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

    Methods

    | 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(AndroidElement to Spinner)

    Allows conversion of a to the Spinner without direct casting.

    Declaration
    public static implicit operator Spinner(AndroidElement element)
    Parameters
    Type Name Description
    AndroidElement element

    The .

    Returns
    Type Description
    Spinner

    The Spinner.

    | Improve this Doc View Source

    Implicit(AppiumWebElement to Spinner)

    Allows conversion of a to the Spinner without direct casting.

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

    The .

    Returns
    Type Description
    Spinner

    The Spinner.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to Spinner)

    Allows conversion of a to the Spinner without direct casting.

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

    The .

    Returns
    Type Description
    Spinner

    The Spinner.

    Implements

    IElementWrapper<TElement>

    Extension Methods

    AndroidElementWrapperExtensions.TryWaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32, Action<Exception>)
    AndroidElementWrapperExtensions.WaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps