Search Results for

    Show / Hide Table of Contents

    Class CheckBox

    Defines a wrapper for the core Android CheckBox control.

    Inheritance
    System.Object
    ElementWrapper<AndroidElement>
    AndroidElementWrapper
    CheckBox
    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 CheckBox : AndroidElementWrapper, IElementWrapper<AndroidElement>

    Constructors

    | Improve this Doc View Source

    CheckBox(AndroidElement)

    Initializes a new instance of the CheckBox class.

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

    The reference.

    Properties

    | Improve this Doc View Source

    IsChecked

    Gets a value indicating whether the check box is in the checked state.

    Declaration
    public virtual bool IsChecked { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    CheckOff()

    Checks the check box off.

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

    CheckOn()

    Checks the check box on.

    Declaration
    public virtual void CheckOn()

    Operators

    | Improve this Doc View Source

    Implicit(AndroidElement to CheckBox)

    Allows conversion of a to the CheckBox without direct casting.

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

    The .

    Returns
    Type Description
    CheckBox

    The CheckBox.

    | Improve this Doc View Source

    Implicit(AppiumWebElement to CheckBox)

    Allows conversion of a to the CheckBox without direct casting.

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

    The .

    Returns
    Type Description
    CheckBox

    The CheckBox.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to CheckBox)

    Allows conversion of a to the CheckBox without direct casting.

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

    The .

    Returns
    Type Description
    CheckBox

    The CheckBox.

    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