Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to: Build Outlook Navigation Menu Using OfficeNavigationBar and NavBarControl with TreeView on the Left

$
0
0

In Outlook 2013, you may notice a special menu at the bottom for navigation between different views. You can build such a menu with DevExpress controls using OfficeNavigationBar and NavBarControl. OfficeNavigationBar takes all groups from NavBarControl and displays them in one line. To bind OfficeNavigationBar to NavBarControl, use the OfficeNavigationBar.NavigationClient property. Please note that to display OfficeNavigationBar, it's necessary to set NavBarControl.Compact to false.

OfficeNavigationBar supports Peek Forms (popups displayed when you hover over an item). 


To enable them, set ShowPeekFormOnItemHover to true and specify the PeekFormTemplate property.

Note that to display custom content in NavBarGroups, it's necessary to set NavBarGroup.DisplaySource to "Content". It also makes sense to disable built-in group scrolling so that TreeView can use its own scrolling mechanism. To accomplish this task, set GroupScrollMode to "None".


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>