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

Declaration

public bool AutoExpandAllItems { get; set; }
Public Property AutoExpandAllItems As Boolean

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.

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.

NOTE

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

See Also