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

Declaration

public AccordionViewMode ViewMode { get; set; }
Public Property ViewMode As AccordionViewMode

Property Value

Type Description
AccordionViewMode

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

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