Class RadioButton
Defines a
Implements
IElementWrapper<AndroidElement>
Inherited Members
Namespace: Legerity.Android.Elements.Core
Assembly: Legerity.Android.dll
Syntax
public class RadioButton : Button, IElementWrapper<AndroidElement>
Constructors
| Improve this Doc View SourceRadioButton(AndroidElement)
Initializes a new instance of the RadioButton class.
Declaration
public RadioButton(AndroidElement element)
Parameters
Type | Name | Description |
---|---|---|
AndroidElement | element | The |
Properties
| Improve this Doc View SourceIsSelected
Gets a value indicating whether the radio button is selected.
Declaration
public virtual bool IsSelected { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Operators
| Improve this Doc View SourceImplicit(AndroidElement to RadioButton)
Allows conversion of a
Declaration
public static implicit operator RadioButton(AndroidElement element)
Parameters
Type | Name | Description |
---|---|---|
AndroidElement | element | The |
Returns
Type | Description |
---|---|
RadioButton | The RadioButton. |
Implicit(AppiumWebElement to RadioButton)
Allows conversion of a
Declaration
public static implicit operator RadioButton(AppiumWebElement element)
Parameters
Type | Name | Description |
---|---|---|
AppiumWebElement | element | The |
Returns
Type | Description |
---|---|
RadioButton | The RadioButton. |
Implicit(RemoteWebElement to RadioButton)
Allows conversion of a
Declaration
public static implicit operator RadioButton(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
RadioButton | The RadioButton. |