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

AccordionControl.RootDisplayMode Property

Gets or sets whether root groups and items are displayed in the main menu (the default) or in the control footer.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(AccordionControlRootDisplayMode.Default)]
public AccordionControlRootDisplayMode RootDisplayMode { get; set; }

#Property Value

Type Default Description
AccordionControlRootDisplayMode Default

A AccordionControlRootDisplayMode enumeration value that specifies where to display root groups and items.

Available values:

Name Description
Default

Root groups and items are displayed in the main menu. The control footer is hidden.

Footer

Root groups and items are displayed in the control footer. When a root group is selected in the control footer, its content is displayed in the main menu.

#Remarks

The AccordionControl‘s root groups and items are contained in the AccordionControl.Elements collection. By default, root elements are displayed directly in the main menu.

It is also possible to display the root elements in the control footer by setting the RootDisplayMode property to Footer. In this mode, when a group is selected in the control footer, its content is displayed in the main menu.

See Also