Class AccordionExpandMode
Specifies the expand mode for the items in the SfAccordion control.
Inheritance
Namespace: Syncfusion.Maui.Accordion
Assembly: Syncfusion.Maui.Expander.dll
Syntax
public sealed class AccordionExpandMode : Enum
Fields
Multiple
It enables to expand more than one Accordion item at a time. At least one item must be always expanded.
Declaration
public const AccordionExpandMode Multiple
Field Value
Type |
---|
AccordionExpandMode |
MultipleOrNone
It enables to expand more than one Accordion item at a time. It is possible to collapse all the items in an SfAccordion.
Declaration
public const AccordionExpandMode MultipleOrNone
Field Value
Type |
---|
AccordionExpandMode |
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.
Declaration
public const AccordionExpandMode Single
Field Value
Type |
---|
AccordionExpandMode |
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.
Declaration
public const AccordionExpandMode SingleOrNone
Field Value
Type |
---|
AccordionExpandMode |