Search Results for

    Show / Hide Table of Contents

    Class TabView

    Defines a wrapper for the WinUI TabView control.

    Inheritance
    System.Object
    WindowsElementWrapper
    TabView
    Inherited Members
    WindowsElementWrapper.Driver
    WindowsElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    WindowsElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Windows.Elements.WinUI
    Assembly: Legerity.WinUI.dll
    Syntax
    public class TabView : WindowsElementWrapper

    Constructors

    | Improve this Doc View Source

    TabView(WindowsElement)

    Initializes a new instance of the TabView class.

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

    The reference.

    Properties

    | Improve this Doc View Source

    AddTabButton

    Gets the element associated with the add tab button.

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

    SelectedItem

    Gets the element associated with the currently selected item.

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

    Tabs

    Gets the collection of items associated with the pivot.

    Declaration
    public virtual ReadOnlyCollection<AppiumWebElement> Tabs { get; }
    Property Value
    Type Description
    ReadOnlyCollection<AppiumWebElement>

    Methods

    | Improve this Doc View Source

    CloseTab(String)

    Closes a tab in the view with the specified item name.

    Declaration
    public virtual void CloseTab(string name)
    Parameters
    Type Name Description
    System.String name

    The name of the item to close.

    | Improve this Doc View Source

    CloseTabByPartialName(String)

    Closes a tab in the view with the specified partial item name.

    Declaration
    public virtual void CloseTabByPartialName(string name)
    Parameters
    Type Name Description
    System.String name

    The partial name of the item to close.

    | Improve this Doc View Source

    CreateTab()

    Adds a new tab to the tab view.

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

    SelectTab(String)

    Clicks on a tab in the view with the specified item name.

    Declaration
    public virtual void SelectTab(string name)
    Parameters
    Type Name Description
    System.String name

    The name of the item to click.

    | Improve this Doc View Source

    SelectTabByPartialName(String)

    Clicks on a tab in the view with the specified partial item name.

    Declaration
    public virtual void SelectTabByPartialName(string name)
    Parameters
    Type Name Description
    System.String name

    The partial name of the item to click.

    Operators

    | Improve this Doc View Source

    Implicit(AppiumWebElement to TabView)

    Allows conversion of a to the TabView without direct casting.

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

    The .

    Returns
    Type Description
    TabView

    The TabView.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to TabView)

    Allows conversion of a to the TabView without direct casting.

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

    The .

    Returns
    Type Description
    TabView

    The TabView.

    | Improve this Doc View Source

    Implicit(WindowsElement to TabView)

    Allows conversion of a to the TabView without direct casting.

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

    The .

    Returns
    Type Description
    TabView

    The TabView.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps