Enum AccordionExpandMode
Specifies the expand mode for the items in the SfAccordion control.
Namespace: Syncfusion.Maui.Accordion
Assembly: Syncfusion.Maui.Expander.dll
Syntax
public enum AccordionExpandMode
Fields
| Name | Description |
|---|---|
| Multiple | It enables to expand more than one Accordion item at a time. At least one item must be always expanded. |
| MultipleOrNone | It enables to expand more than one Accordion item at a time. It is possible to collapse all the items in an SfAccordion. |
| Single | It enables to expand only one Accordion item at a time. If you expand any new item, the previously expanded one is collapsed and new item changed to expanded state. Atleast one item must be in expanded state and the expanded item cannot be collapsed with AccordionExpandMode is Single. |
| SingleOrNone | It enables to expand only one Accordion item at a time. If you expand any new item, the previously expanded one is collapsed and new item changed to expanded state. Unlike Single, it is possible to collapse the expanded item and keep all the items in an SfAccordion in collapsed state. |