Skip to main content
A newer version of this page is available. .

OfficeNavigationBar.NavigationClient Property

Gets or sets the NavBarControl associated with the current OfficeNavigationBar. This is a dependency property.

Namespace: DevExpress.Xpf.Navigation

Assembly: DevExpress.Xpf.Controls.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Controls, DevExpress.Wpf.Navigation

Declaration

public INavigatorClient NavigationClient { get; set; }

Property Value

Type Description
DevExpress.Xpf.Core.INavigatorClient

An DevExpress.Xpf.Core.INavigatorClient object (NavBarControl) that is associated with the current OfficeNavigationBar.

Remarks

The OfficeNavigationBar control can be integrated with a NavBarControl or an AccordionControl. When you assign a NavBarControl or AccordionControl to the NavigationClient property, the navigation control’s groups are obtained and presented as items in the current OfficeNavigationBar. At runtime, when an end-user clicks any of these items, a corresponding group is automatically activated in the bound navigation control. For the NavBarControl, group activation is only noticeable when the NavBarControl is painted using the NavigationPaneView or SideBarView. For the AccordionControl, when its AccordionControl.ViewMode property is set to AccordionViewMode.NavigationPane.

Note

In this integration mode, do not manually specify items via the Items or ItemsSource property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the NavigationClient property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also