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
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.
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.