Back to Devexpress

AccordionControl.RootDisplayMode Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-accordioncontrol-5c6c4a94.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
AccordionControlRootDisplayModeDefault

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

|

Available values:

NameDescription
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

AccordionControl Class

AccordionControl Members

DevExpress.XtraBars.Navigation Namespace