
## AmpAccordion class

**Inherits:** Aspose::Email::Amp::AmpComponent

A UI element that facilitates showing/hiding different sections.

## Constructors

| Name | Description |
| --- | --- |
| [AmpAccordion](./ampaccordion/) |  |

## Methods

| Name | Description |
| --- | --- |
| [get_DisableSessionStates](./get_disablesessionstates/) | Set this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion. |
| [get_ExpandSingleSection](./get_expandsinglesection/) | Set this attribute on the amp-accordion to only allow one section to be expanded at a time. |
| [get_RequiredScript](./get_requiredscript/) | Required script that muct be added to head section. |
| [get_Sections](./get_sections/) | List of sections. |
| [set_DisableSessionStates](./set_disablesessionstates/) | Set this attribute on the amp-accordion to opt out of preserving the collapsed/expanded state of the accordion. |
| [set_ExpandSingleSection](./set_expandsinglesection/) | Set this attribute on the amp-accordion to only allow one section to be expanded at a time. |
| [ToAmpHtml](./toamphtml/) | Represents amp html version of component. |
| [ToHtml](./tohtml/) | Represents html version of component. |

