Skip to main content

AccordionControl.AutoExpandAllItems Property

Gets or sets whether all accordion items are expanded when the accordion control is initialized. This is a dependency property.

Namespace: DevExpress.Xpf.Accordion

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

NuGet Package: DevExpress.Wpf.Accordion


public bool AutoExpandAllItems { get; set; }

Property Value

Type Description

true, to expand all accordion items when the accordion control is initialized; otherwise, false.


When the AutoExpandAllItems property is set to true, the accordion control will automatically expand all its items when:

  • the Accordion control is initialized
  • the control’s ItemsSource property is changed.

When a single item is changed in the data source, the item’s child nodes are expanded.

When the ChildrenPath and DisplayMemberPath properties are specified, and the bound data items implement INotifyPropertyChanged, the accordion items are expanded only when the items’ properties specified within ChildrenPath and DisplayMemberPath are changed.


To enable expanding multiple items at once, the AccordionControl.ExpandMode property must be set to ExpandMode.Multiple or ExpandMode.MultipleOrNone.

See Also