Skip to main content

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

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