windowsforms-devexpress-dot-xtrabars-dot-navigation-ddc25170.md
Enumerates element expansion modes in the AccordionControl.
Namespace : DevExpress.XtraBars.Navigation
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public enum ExpandElementMode
Public Enum ExpandElementMode
| Name | Description |
|---|---|
Single |
A single element (item or group) can be expanded simultaneously.
|
| Multiple |
Multiple elements (items and/or groups) can be expanded simultaneously. In this mode, you can implement custom element expansion logic by handling the AccordionControl.ExpandStateChanging event.
|
| SingleItem |
A single item and multiple groups can be expanded simultaneously.
|
The following properties accept/return ExpandElementMode values:
An item is expandable if a custom content container is assigned to it with the AccordionControlElementBase.ContentContainer property.
Tip
An item is an element whose AccordionControlElement.Style property set to Item.
A group is an element whose AccordionControlElement.Style property set to Group.
See Also