Class MenuFlyoutSubItem
Defines a
Implements
Inherited Members
Namespace: Legerity.Windows.Elements.Core
Assembly: Legerity.Windows.dll
Syntax
public class MenuFlyoutSubItem : WindowsElementWrapper, IElementWrapper<WindowsElement>
Constructors
| Improve this Doc View SourceMenuFlyoutSubItem(WindowsElement)
Initializes a new instance of the MenuFlyoutSubItem class.
Declaration
public MenuFlyoutSubItem(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Properties
| Improve this Doc View SourceChildMenuItems
Gets the UI components associated with the child menu items.
Declaration
public virtual IEnumerable<MenuFlyoutItem> ChildMenuItems { get; }
Property Value
Type | Description |
---|---|
IEnumerable<MenuFlyoutItem> |
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 SourceClickChildOption(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. |
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. |
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. |
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 SourceImplicit(AppiumWebElement to MenuFlyoutSubItem)
Allows conversion of a
Declaration
public static implicit operator MenuFlyoutSubItem(AppiumWebElement element)
Parameters
Type | Name | Description |
---|---|---|
AppiumWebElement | element | The |
Returns
Type | Description |
---|---|
MenuFlyoutSubItem | The MenuFlyoutSubItem. |
Implicit(RemoteWebElement to MenuFlyoutSubItem)
Allows conversion of a
Declaration
public static implicit operator MenuFlyoutSubItem(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
MenuFlyoutSubItem | The MenuFlyoutSubItem. |
Implicit(WindowsElement to MenuFlyoutSubItem)
Allows conversion of a
Declaration
public static implicit operator MenuFlyoutSubItem(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Returns
Type | Description |
---|---|
MenuFlyoutSubItem | The MenuFlyoutSubItem. |