Skip to main content

AccordionCommands.CollapseAllItems Property

Gets the command that collapses all accordion items.

Namespace: DevExpress.Xpf.Accordion

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

NuGet Package: DevExpress.Wpf.Accordion


public ICommand CollapseAllItems { get; }

Property Value

Type Description

An object implementing the System.Windows.Input.ICommand interface.


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

The following code snippets (auto-collected from DevExpress Examples) contain references to the CollapseAllItems property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also