Search Results for

    Show / Hide Table of Contents

    Class FlipView

    Defines a wrapper for the core UWP FlipView control.

    Inheritance
    System.Object
    ElementWrapper<WindowsElement>
    WindowsElementWrapper
    FlipView
    Implements
    IElementWrapper<WindowsElement>
    Inherited Members
    WindowsElementWrapper.Driver
    WindowsElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    WindowsElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    ElementWrapper<WindowsElement>.Element
    ElementWrapper<WindowsElement>.ElementDriver
    ElementWrapper<WindowsElement>.IsVisible
    ElementWrapper<WindowsElement>.IsEnabled
    ElementWrapper<WindowsElement>.Click()
    ElementWrapper<WindowsElement>.GetAttribute(String)
    ElementWrapper<WindowsElement>.FindElement(By)
    ElementWrapper<WindowsElement>.VerifyElementNotShown(By)
    ElementWrapper<WindowsElement>.VerifyElementShown(By)
    ElementWrapper<WindowsElement>.VerifyElementShown(By, Nullable<TimeSpan>)
    ElementWrapper<WindowsElement>.VerifyElementsShown(By)
    ElementWrapper<WindowsElement>.VerifyElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Windows.Elements.Core
    Assembly: Legerity.Windows.dll
    Syntax
    public class FlipView : WindowsElementWrapper, IElementWrapper<WindowsElement>

    Constructors

    | Improve this Doc View Source

    FlipView(WindowsElement)

    Initializes a new instance of the FlipView class.

    Declaration
    public FlipView(WindowsElement element)
    Parameters
    Type Name Description
    WindowsElement element

    The reference.

    Properties

    | Improve this Doc View Source

    Items

    Gets the collection of items associated with the flip view.

    Declaration
    public virtual ReadOnlyCollection<AppiumWebElement> Items { get; }
    Property Value
    Type Description
    ReadOnlyCollection<AppiumWebElement>
    | Improve this Doc View Source

    NextButton

    Gets the element associated with the next item button.

    Declaration
    public virtual Button NextButton { get; }
    Property Value
    Type Description
    Button
    | Improve this Doc View Source

    PreviousButton

    Gets the element associated with the previous item button.

    Declaration
    public virtual Button PreviousButton { get; }
    Property Value
    Type Description
    Button
    | Improve this Doc View Source

    SelectedIndex

    Gets the currently selected item index.

    Declaration
    public virtual int SelectedIndex { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    SelectedItem

    Gets the currently selected item.

    Declaration
    public virtual AppiumWebElement SelectedItem { get; }
    Property Value
    Type Description
    AppiumWebElement

    Methods

    | Improve this Doc View Source

    SelectItem(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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    SelectNext()

    Selects the next item in the flip view.

    Declaration
    public virtual void SelectNext()
    | Improve this Doc View Source

    SelectPrevious()

    Selects the previous item in the flip view.

    Declaration
    public virtual void SelectPrevious()

    Operators

    | Improve this Doc View Source

    Implicit(AppiumWebElement to FlipView)

    Allows conversion of a to the FlipView without direct casting.

    Declaration
    public static implicit operator FlipView(AppiumWebElement element)
    Parameters
    Type Name Description
    AppiumWebElement element

    The .

    Returns
    Type Description
    FlipView

    The FlipView.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to FlipView)

    Allows conversion of a to the FlipView without direct casting.

    Declaration
    public static implicit operator FlipView(RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The .

    Returns
    Type Description
    FlipView

    The FlipView.

    | Improve this Doc View Source

    Implicit(WindowsElement to FlipView)

    Allows conversion of a to the FlipView without direct casting.

    Declaration
    public static implicit operator FlipView(WindowsElement element)
    Parameters
    Type Name Description
    WindowsElement element

    The .

    Returns
    Type Description
    FlipView

    The FlipView.

    Implements

    IElementWrapper<TElement>

    Extension Methods

    WindowsElementWrapperExtensions.TryWaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32, Action<Exception>)
    WindowsElementWrapperExtensions.WaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps