Skip to main content

AccordionControl.CompactNavigation Property

Gets or sets whether to display the linked OfficeNavigationBar‘s items within the Accordion’s overflow panel. This is a dependency property.

Namespace: DevExpress.Xpf.Accordion

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

NuGet Package: DevExpress.Wpf.Accordion


public bool CompactNavigation { get; set; }

Property Value

Type Description

true, to display the OfficeNavigationBar’s items within the Accordion’s overflow panel; otherwise, false. By default, true.


To link an OfficeNavigationBar to an AccordionControl, use the OfficeNavigationBar.NavigationClient property. See the following code snippet.

<dxa:AccordionControl x:Name="accordion"
<dxnav:OfficeNavigationBar NavigationClient="{Binding ElementName=accordion}" />

If the CompactNavigation property is set to true, the original OfficeNavigationBar linked to the Accordion is hidden, as illustrated in the image below.


End-users can change the value of the CompactNavigation property using the Compact Navigation checkbox in the OfficeNavigationBar’s Navigation Options menu. This checkbox is only shown if the OfficeNavigationBar is linked to an AccordionControl.

See Also