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.v18.2.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 in the following cases:

  • Accordion control is initially populated from the data source.
  • Data source is changed.
  • Data source is modified.

Note

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

See Also