Class CommandBar
Defines a
Inherited Members
Namespace: Legerity.Uno.Elements
Assembly: Legerity.Uno.dll
Syntax
public class CommandBar : UnoElementWrapper
Constructors
| Improve this Doc View SourceCommandBar(IWebElement)
Initializes a new instance of the CommandBar class.
Declaration
public CommandBar(IWebElement element)
Parameters
Type | Name | Description |
---|---|---|
IWebElement | element | The |
CommandBar(RemoteWebElement)
Initializes a new instance of the CommandBar class.
Declaration
public CommandBar(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Properties
| Improve this Doc View SourceMoreButton
Gets the secondary (more) options button.
Declaration
public virtual AppBarButton MoreButton { get; }
Property Value
Type | Description |
---|---|
AppBarButton |
PrimaryButtons
Gets the collection of primary buttons.
Declaration
public virtual IEnumerable<AppBarButton> PrimaryButtons { get; }
Property Value
Type | Description |
---|---|
IEnumerable<AppBarButton> |
SecondaryButtons
Gets the collection of secondary buttons.
Note, this property will only return a result when the secondary buttons are shown in the flyout.
Declaration
public virtual IEnumerable<AppBarButton> SecondaryButtons { get; }
Property Value
Type | Description |
---|---|
IEnumerable<AppBarButton> |
Methods
| Improve this Doc View SourceClickPrimaryButton(String)
Clicks a primary button in the command bar with the specified button name.
Declaration
public virtual void ClickPrimaryButton(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the button to click. |
ClickPrimaryButtonByPartialName(String)
Clicks a primary button in the command bar with the specified partial button name.
Declaration
public virtual void ClickPrimaryButtonByPartialName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The partial name of the button to click. |
ClickSecondaryButton(String)
Clicks a secondary button in the command bar with the specified button name.
Declaration
public virtual void ClickSecondaryButton(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the button to click. |
ClickSecondaryButtonByPartialName(String)
Clicks a secondary button in the command bar with the specified partial button name.
Declaration
public virtual void ClickSecondaryButtonByPartialName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The partial name of the button to click. |
OpenSecondaryButtonMenu()
Opens the menu associated with the secondary button options.
Declaration
public virtual void OpenSecondaryButtonMenu()
Operators
| Improve this Doc View SourceImplicit(RemoteWebElement to CommandBar)
Allows conversion of a
Declaration
public static implicit operator CommandBar(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
CommandBar | The CommandBar. |