Class CheckBox
Defines a
Implements
IElementWrapper<WindowsElement>
Inherited Members
Namespace: Legerity.Windows.Elements.Core
Assembly: Legerity.Windows.dll
Syntax
public class CheckBox : WindowsElementWrapper, IElementWrapper<WindowsElement>
Constructors
| Improve this Doc View SourceCheckBox(WindowsElement)
Initializes a new instance of the CheckBox class.
Declaration
public CheckBox(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | 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 |
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 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(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. |
Implicit(WindowsElement to CheckBox)
Allows conversion of a
Declaration
public static implicit operator CheckBox(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Returns
Type | Description |
---|---|
CheckBox | The CheckBox. |