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

Declaration

[DefaultValue(AccordionControlRootDisplayMode.Default)]
public AccordionControlRootDisplayMode RootDisplayMode { get; set; }
<DefaultValue(AccordionControlRootDisplayMode.Default)>
Public Property RootDisplayMode As AccordionControlRootDisplayMode

Property Value

Type Default Description
AccordionControlRootDisplayMode

Default

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

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