Search Results for

    Show / Hide Table of Contents

    Class CheckBox

    Defines a wrapper for the core CheckBox control.

    Inheritance
    System.Object
    UnoElementWrapper
    CheckBox
    Inherited Members
    UnoElementWrapper.Element
    UnoElementWrapper.Driver
    UnoElementWrapper.IsEnabled
    UnoElementWrapper.IsVisible
    UnoElementWrapper.FindElement(By)
    UnoElementWrapper.FindElements(By)
    UnoElementWrapper.Click()
    UnoElementWrapper.GetAttribute(String)
    UnoElementWrapper.VerifyElementShown(By)
    UnoElementWrapper.VerifyElementShown(By, Nullable<TimeSpan>)
    UnoElementWrapper.VerifyElementsShown(By)
    UnoElementWrapper.VerifyElementsShown(By, Nullable<TimeSpan>)
    UnoElementWrapper.VerifyElementNotShown(By)
    UnoElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    UnoElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Uno.Elements
    Assembly: Legerity.Uno.dll
    Syntax
    public class CheckBox : UnoElementWrapper

    Constructors

    | Improve this Doc View Source

    CheckBox(IWebElement)

    Initializes a new instance of the CheckBox class.

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

    The reference.

    | Improve this Doc View Source

    CheckBox(RemoteWebElement)

    Initializes a new instance of the CheckBox class.

    Declaration
    public CheckBox(RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement 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
    | Improve this Doc View Source

    IsIndeterminate

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

    Declaration
    public virtual bool IsIndeterminate { 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(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.

    Extension Methods

    ElementWrapperExtensions.WaitUntil<TElementWrapper>(TElementWrapper, Func<TElementWrapper, Boolean>, Nullable<TimeSpan>)
    ElementWrapperExtensions.FindWebElementByXamlType(UnoElementWrapper, String)
    ElementWrapperExtensions.FindElementByXamlName(UnoElementWrapper, String)
    ElementWrapperExtensions.FindElementByAutomationId(UnoElementWrapper, String)
    ElementWrapperExtensions.VerifyNameOrAutomationIdEquals(UnoElementWrapper, String)
    ElementWrapperExtensions.VerifyNameOrAutomationIdContains(UnoElementWrapper, String)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps