wpf-devexpress-dot-xpf-dot-navbar-09c655cc.md
Represents a view similar to the Navigation Pane found in Microsoft Outlook 2007.
Namespace : DevExpress.Xpf.NavBar
Assembly : DevExpress.Xpf.NavBar.v25.2.dll
NuGet Package : DevExpress.Wpf.NavBar
public class NavigationPaneView :
NavBarViewBase
Public Class NavigationPaneView
Inherits NavBarViewBase
The behavior and appearance of the view implemented by the NavigationPaneView class is similar to the Navigation Pane found in Microsoft Outlook 2007. Only one group’s content can be visible at one time. End-users can activate a group by clicking its header. The Navigation Pane (that is the entire DXNavbar control) can be collapsed/expanded by a click on the header section’s expand button, in the same manner as the Navigation Pane in Microsoft Office® 2007.
This class declares members that are used to manage the layout, appearance and behavior of specific view elements, and to respond to changes in the Navigation Pane’s expanded state.
Once you have created a new instance of the NavigationPaneView class, it should be assigned to the NavBarControl’s NavBarControl.View property, to apply this view to the control.
To learn more, see the Views topic.
The following code snippets (auto-collected from DevExpress Examples) contain references to the NavigationPaneView class.
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.
<dxn:NavBarControl.View>
<dxn:NavigationPaneView MouseDoubleClick="NavigationPaneView_MouseDoubleClick" MaxVisibleGroupCount="7" />
</dxn:NavBarControl.View>
wpf-spreadsheetcontrol-api-part-1/CS/SpreadsheetControl_WPF_API/MainWindow.xaml#L39
<dxn:NavBarControl.View>
<dxn:NavigationPaneView MouseDoubleClick="NavigationPaneView_MouseDoubleClick" MaxVisibleGroupCount="7" />
</dxn:NavBarControl.View>
wpf-spreadsheetcontrol-api-part-2/CS/SpreadsheetControl_WPF_API_Part02/MainWindow.xaml#L38
<dxn:NavBarControl.View>
<dxn:NavigationPaneView MouseDoubleClick="NavigationPaneView_MouseDoubleClick" MaxVisibleGroupCount="10" />
</dxn:NavBarControl.View>
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control NavBarViewBase NavigationPaneView
See Also
How to: Change the control's view via code