Class FlipView
Defines a
Implements
Inherited Members
Namespace: Legerity.Windows.Elements.Core
Assembly: Legerity.Windows.dll
Syntax
public class FlipView : WindowsElementWrapper, IElementWrapper<WindowsElement>
Constructors
| Improve this Doc View SourceFlipView(WindowsElement)
Initializes a new instance of the FlipView class.
Declaration
public FlipView(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Properties
| Improve this Doc View SourceItems
Gets the collection of items associated with the flip view.
Declaration
public virtual ReadOnlyCollection<AppiumWebElement> Items { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<AppiumWebElement> |
NextButton
Gets the element associated with the next item button.
Declaration
public virtual Button NextButton { get; }
Property Value
Type | Description |
---|---|
Button |
PreviousButton
Gets the element associated with the previous item button.
Declaration
public virtual Button PreviousButton { get; }
Property Value
Type | Description |
---|---|
Button |
SelectedIndex
Gets the currently selected item index.
Declaration
public virtual int SelectedIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
SelectedItem
Gets the currently selected item.
Declaration
public virtual AppiumWebElement SelectedItem { get; }
Property Value
Type | Description |
---|---|
AppiumWebElement |
Methods
| Improve this Doc View SourceSelectItem(String)
Selects an item in the flip view by the specified name.
Declaration
public virtual void SelectItem(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the item. |
SelectItemByIndex(Int32)
Selects an items in the flip view by index.
Declaration
public virtual void SelectItemByIndex(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the item to select. |
SelectNext()
Selects the next item in the flip view.
Declaration
public virtual void SelectNext()
SelectPrevious()
Selects the previous item in the flip view.
Declaration
public virtual void SelectPrevious()
Operators
| Improve this Doc View SourceImplicit(AppiumWebElement to FlipView)
Allows conversion of a
Declaration
public static implicit operator FlipView(AppiumWebElement element)
Parameters
Type | Name | Description |
---|---|---|
AppiumWebElement | element | The |
Returns
Type | Description |
---|---|
FlipView | The FlipView. |
Implicit(RemoteWebElement to FlipView)
Allows conversion of a
Declaration
public static implicit operator FlipView(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
FlipView | The FlipView. |
Implicit(WindowsElement to FlipView)
Allows conversion of a
Declaration
public static implicit operator FlipView(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Returns
Type | Description |
---|---|
FlipView | The FlipView. |