Skip to main content
A newer version of this page is available. .

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.v19.1.dll

Declaration

public bool AutoExpandAllItems { get; set; }

Property Value

Type Description
Boolean

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

Remarks

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.

Note

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

See Also