Search Results for

    Show / Hide Table of Contents

    Class MenuFlyoutSubItem

    Defines a wrapper for the UWP MenuFlyoutSubItem control.

    Inheritance
    System.Object
    ElementWrapper<WindowsElement>
    WindowsElementWrapper
    MenuFlyoutSubItem
    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 MenuFlyoutSubItem : WindowsElementWrapper, IElementWrapper<WindowsElement>

    Constructors

    | Improve this Doc View Source

    MenuFlyoutSubItem(WindowsElement)

    Initializes a new instance of the MenuFlyoutSubItem class.

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

    The reference.

    Properties

    | Improve this Doc View Source

    ChildMenuItems

    Gets the UI components associated with the child menu items.

    Declaration
    public virtual IEnumerable<MenuFlyoutItem> ChildMenuItems { get; }
    Property Value
    Type Description
    IEnumerable<MenuFlyoutItem>
    | Improve this Doc View Source

    ChildMenuSubItems

    Gets the UI components associated with the child menu sub-items.

    Declaration
    public virtual IEnumerable<MenuFlyoutSubItem> ChildMenuSubItems { get; }
    Property Value
    Type Description
    IEnumerable<MenuFlyoutSubItem>

    Methods

    | Improve this Doc View Source

    ClickChildOption(String)

    Clicks on a child menu option with the specified item name.

    Declaration
    public virtual MenuFlyoutItem ClickChildOption(string name)
    Parameters
    Type Name Description
    System.String name

    The name of the item to click.

    Returns
    Type Description
    MenuFlyoutItem

    The clicked MenuFlyoutItem.

    | Improve this Doc View Source

    ClickChildOptionByPartialName(String)

    Clicks on a child menu option with the specified partial item name.

    Declaration
    public virtual MenuFlyoutItem ClickChildOptionByPartialName(string name)
    Parameters
    Type Name Description
    System.String name

    The partial name of the item to click.

    Returns
    Type Description
    MenuFlyoutItem

    The clicked MenuFlyoutItem.

    | Improve this Doc View Source

    ClickChildSubOption(String)

    Clicks on a child menu sub option with the specified item name.

    Declaration
    public virtual MenuFlyoutSubItem ClickChildSubOption(string name)
    Parameters
    Type Name Description
    System.String name

    The name of the sub-item to click.

    Returns
    Type Description
    MenuFlyoutSubItem

    The clicked MenuFlyoutSubItem.

    | Improve this Doc View Source

    ClickChildSubOptionByPartialName(String)

    Clicks on a child menu sub option with the specified partial item name.

    Declaration
    public virtual MenuFlyoutSubItem ClickChildSubOptionByPartialName(string name)
    Parameters
    Type Name Description
    System.String name

    The name of the sub-item to click.

    Returns
    Type Description
    MenuFlyoutSubItem

    The clicked MenuFlyoutSubItem.

    Operators

    | Improve this Doc View Source

    Implicit(AppiumWebElement to MenuFlyoutSubItem)

    Allows conversion of a to the MenuFlyoutSubItem without direct casting.

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

    The .

    Returns
    Type Description
    MenuFlyoutSubItem

    The MenuFlyoutSubItem.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to MenuFlyoutSubItem)

    Allows conversion of a to the MenuFlyoutSubItem without direct casting.

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

    The .

    Returns
    Type Description
    MenuFlyoutSubItem

    The MenuFlyoutSubItem.

    | Improve this Doc View Source

    Implicit(WindowsElement to MenuFlyoutSubItem)

    Allows conversion of a to the MenuFlyoutSubItem without direct casting.

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

    The .

    Returns
    Type Description
    MenuFlyoutSubItem

    The MenuFlyoutSubItem.

    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