Skip to main content

AccordionControl.CollapseAll() Method

Collapses all accordion items that can be collapsed.

Namespace: DevExpress.Xpf.Accordion

Assembly: DevExpress.Xpf.Accordion.v24.1.dll

NuGet Package: DevExpress.Wpf.Accordion

Declaration

public void CollapseAll()

Remarks

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