Interface IAccordion
An SAPUI5 accordion object.
Inherited Members
Namespace: HP.LFT.SDK.SAP.UI5
Assembly: HP.LFT.SDK.dll
Syntax
public interface IAccordion : IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop
Properties
Items
A list of the titles of all the panels contained in the accordion (separated by ;).
Declaration
ReadOnlyCollection<string> Items { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<string> |
SelectedItem
The title of the selected panel.
Declaration
string SelectedItem { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Collapse(string)
Collapses the specified panel in the accordion.
Declaration
void Collapse(string item)
Parameters
| Type | Name | Description |
|---|---|---|
| string | item | The name of the panel to collapse. |
Collapse(uint)
Collapses the specified panel in the accordion.
Declaration
void Collapse(uint itemIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | itemIndex | The numeric index of the panel to collapse. Index begins with 1. |
Expand(string)
Expands the specified panel in the accordion.
Declaration
void Expand(string item)
Parameters
| Type | Name | Description |
|---|---|---|
| string | item | The name of the panel to expand. |
Expand(uint)
Expands the specified panel in the accordion.
Declaration
void Expand(uint itemIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | itemIndex | The numeric index of the panel to expand. Index begins with 1. |