Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AccordionControlElement.Elements Property

Provides access to the collection of nested elements.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Data")]
[XtraSerializableProperty(true, true, false, 999)]
public AccordionControlElementCollection Elements { get; }

#Property Value

Type Description
DevExpress.XtraBars.Navigation.AccordionControlElementCollection

The collection of nested elements.

#Remarks

Groups in the AccordionControl can display nested elements. To customize the nested element collection in code, use the Elements property. To add child elements to a group at design time, use the Add Item and Add Group commands available from the smart tag menu.

AccordionControlGroup-Elements.png

Items cannot display nested items and groups. Thus, the Elements property is not in effect for these elements.

See the AccordionControlElement topic for the difference between items and groups.

See Also