Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Wpf.Accordion

#Declaration

public bool CompactNavigation { get; set; }

#Property Value

Type Description
Boolean

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

#Remarks

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

<dxa:AccordionControl x:Name="accordion"
        ViewMode="NavigationPane"
        CompactNavigation="True">
<!---->
<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.

CompactNavigation

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