Skip to main content

AccordionControl.CollapseAll() Method

Collapses all accordion items that can be collapsed.

Namespace: DevExpress.Xpf.Accordion

Assembly: DevExpress.Xpf.Accordion.v22.2.dll

NuGet Package: DevExpress.Wpf.Accordion


public void CollapseAll()


If the AccordionControl.ExpandMode property is set to Multiple or Single, the CollapseAll method will collapse all accordion items but one.

Refer to the Expanding and Collapsing topic to learn more.

See Also