Class BladeView
Defines a
Inherited Members
Namespace: Legerity.Windows.Elements.WCT
Assembly: Legerity.WCT.dll
Syntax
public class BladeView : WindowsElementWrapper
Constructors
| Improve this Doc View SourceBladeView(WindowsElement)
Initializes a new instance of the BladeView class.
Declaration
public BladeView(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Properties
| Improve this Doc View SourceBlades
Gets the UI components associated with the child blades.
Declaration
public virtual IEnumerable<BladeViewItem> Blades { get; }
Property Value
Type | Description |
---|---|
IEnumerable<BladeViewItem> |
Methods
| Improve this Doc View SourceCloseBlade(String)
Closes an open blade by name.
Declaration
public virtual void CloseBlade(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the blade to close. |
CloseBladeByPartialName(String)
Closes an open blade by partial name.
Declaration
public virtual void CloseBladeByPartialName(string partialName)
Parameters
Type | Name | Description |
---|---|---|
System.String | partialName | The partial name of the blade to close. |
GetBlade(String)
Retrieves a BladeViewItem by the given name.
Declaration
public virtual BladeViewItem GetBlade(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the blade to retrieve. |
Returns
Type | Description |
---|---|
BladeViewItem | A BladeViewItem instance if found; otherwise, null. |
GetBladeByPartialName(String)
Retrieves a BladeViewItem by the given partial name.
Declaration
public virtual BladeViewItem GetBladeByPartialName(string partialName)
Parameters
Type | Name | Description |
---|---|---|
System.String | partialName | The partial name of the blade to retrieve. |
Returns
Type | Description |
---|---|
BladeViewItem | A BladeViewItem instance if found; otherwise, null. |
Operators
| Improve this Doc View SourceImplicit(AppiumWebElement to BladeView)
Allows conversion of a
Declaration
public static implicit operator BladeView(AppiumWebElement element)
Parameters
Type | Name | Description |
---|---|---|
AppiumWebElement | element | The |
Returns
Type | Description |
---|---|
BladeView | The BladeView. |
Implicit(RemoteWebElement to BladeView)
Allows conversion of a
Declaration
public static implicit operator BladeView(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
BladeView | The BladeView. |
Implicit(WindowsElement to BladeView)
Allows conversion of a
Declaration
public static implicit operator BladeView(WindowsElement element)
Parameters
Type | Name | Description |
---|---|---|
WindowsElement | element | The |
Returns
Type | Description |
---|---|
BladeView | The BladeView. |