Skip to main content

AccordionControl.ViewMode Property

Gets or sets how the AccordionControl displays its root items. This is a dependency property.

Namespace: DevExpress.Xpf.Accordion

Assembly: DevExpress.Xpf.Accordion.v22.1.dll

NuGet Package: DevExpress.Wpf.Accordion


public AccordionViewMode ViewMode { get; set; }

Property Value

Type Description

An AccordionViewMode enumeration value. The default is AccordionViewMode.Accordion.

Available values:

Name Description

All root and children items are displayed.


Only child items of a single root item specified by the AccordionControl.SelectedRootItem property are displayed.


Use the ViewMode property to specify how the AccordionControl displays its root items: in navigation pane or as accordion root items.


The AccordionControl displays the subitems of the selected root item in AccordionViewMode.NavigationPane mode. You can specify the selected root item using the AccordionControl.SelectedRootItem property.

The AccordionControl automatically switches to AccordionViewMode.NavigationPane mode when integrated with OfficeNavigationBar.

Virtualization is not supported in the AccordionViewMode.NavigationPane mode.

See Also