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

Declaration

public AccordionViewMode ViewMode { get; set; }

Property Value

Type Description
AccordionViewMode

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

Available values:

Name Description
Accordion

All root and children items are displayed.

NavigationPane

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

Remarks

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

WPF_Accordion_ViewMode

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