Class Spinner
Defines a
Implements
IElementWrapper<AndroidElement>
Inherited Members
Namespace: Legerity.Android.Elements.Core
Assembly: Legerity.Android.dll
Syntax
public class Spinner : AndroidElementWrapper, IElementWrapper<AndroidElement>
Constructors
| Improve this Doc View SourceSpinner(AndroidElement)
Initializes a new instance of the Spinner class.
Declaration
public Spinner(AndroidElement element)
Parameters
Type | Name | Description |
---|---|---|
AndroidElement | element | The |
Properties
| Improve this Doc View SourceSelectedItem
Gets the currently selected item.
Declaration
public virtual string SelectedItem { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceSelectItem(String)
Selects an item in the combo-box with the specified item name.
Declaration
public virtual void SelectItem(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the item to select. |
SelectItemByPartialName(String)
Selects an item in the combo-box with the specified partial item name.
Declaration
public virtual void SelectItemByPartialName(string partialName)
Parameters
Type | Name | Description |
---|---|---|
System.String | partialName | The partial name match for the item to select. |
Operators
| Improve this Doc View SourceImplicit(AndroidElement to Spinner)
Allows conversion of a
Declaration
public static implicit operator Spinner(AndroidElement element)
Parameters
Type | Name | Description |
---|---|---|
AndroidElement | element | The |
Returns
Type | Description |
---|---|
Spinner | The Spinner. |
Implicit(AppiumWebElement to Spinner)
Allows conversion of a
Declaration
public static implicit operator Spinner(AppiumWebElement element)
Parameters
Type | Name | Description |
---|---|---|
AppiumWebElement | element | The |
Returns
Type | Description |
---|---|
Spinner | The Spinner. |
Implicit(RemoteWebElement to Spinner)
Allows conversion of a
Declaration
public static implicit operator Spinner(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
Spinner | The Spinner. |