Class CheckBox
Defines a
Implements
IElementWrapper<AndroidElement>
Inherited Members
Namespace: Legerity.Android.Elements.Core
Assembly: Legerity.Android.dll
Syntax
public class CheckBox : AndroidElementWrapper, IElementWrapper<AndroidElement>
Constructors
| Improve this Doc View SourceCheckBox(AndroidElement)
Initializes a new instance of the CheckBox class.
Declaration
public CheckBox(AndroidElement element)
Parameters
Type | Name | Description |
---|---|---|
AndroidElement | element | The |
Properties
| Improve this Doc View SourceIsChecked
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 SourceCheckOff()
Checks the check box off.
Declaration
public virtual void CheckOff()
CheckOn()
Checks the check box on.
Declaration
public virtual void CheckOn()
Operators
| Improve this Doc View SourceImplicit(AndroidElement to CheckBox)
Allows conversion of a
Declaration
public static implicit operator CheckBox(AndroidElement element)
Parameters
Type | Name | Description |
---|---|---|
AndroidElement | element | The |
Returns
Type | Description |
---|---|
CheckBox | The CheckBox. |
Implicit(AppiumWebElement to CheckBox)
Allows conversion of a
Declaration
public static implicit operator CheckBox(AppiumWebElement element)
Parameters
Type | Name | Description |
---|---|---|
AppiumWebElement | element | The |
Returns
Type | Description |
---|---|
CheckBox | The CheckBox. |
Implicit(RemoteWebElement to CheckBox)
Allows conversion of a
Declaration
public static implicit operator CheckBox(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
CheckBox | The CheckBox. |