Class DropDownList
Defines a
Inherited Members
Namespace: Legerity.Windows.Elements.MADE
Assembly: Legerity.MADE.dll
Syntax
public class DropDownList : WindowsElementWrapper
Constructors
| Improve this Doc View SourceDropDownList(WindowsElement)
Initializes a new instance of the DropDownList class.
Declaration
public DropDownList(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Properties
| Improve this Doc View SourceDropDown
Gets the ListView element associated with the drop down content.
Declaration
public virtual ListView DropDown { get; }
Property Value
Type | Description |
---|---|
ListView |
Methods
| Improve this Doc View SourceIsDropDownOpen()
Determines whether the drop down is open.
Declaration
public virtual bool IsDropDownOpen()
Returns
Type | Description |
---|---|
System.Boolean | True if the drop down is open; otherwise, false. |
OpenDropDown()
Opens the drop down if it is not already open.
Declaration
public virtual void OpenDropDown()
SelectItem(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(AppiumWebElement to DropDownList)
Allows conversion of a
Declaration
public static implicit operator DropDownList(AppiumWebElement element)
Parameters
Type | Name | Description |
---|---|---|
AppiumWebElement | element | The |
Returns
Type | Description |
---|---|
DropDownList | The DropDownList. |
Implicit(RemoteWebElement to DropDownList)
Allows conversion of a
Declaration
public static implicit operator DropDownList(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
DropDownList | The DropDownList. |
Implicit(WindowsElement to DropDownList)
Allows conversion of a
Declaration
public static implicit operator DropDownList(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Returns
Type | Description |
---|---|
DropDownList | The DropDownList. |