AccordionControl.CollapseAll() Method

Collapses all accordion items that can be collapsed.

Namespace: DevExpress.Xpf.Accordion

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

Declaration

public void CollapseAll()
Public Sub 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