NavBarGroup.NavPaneShowMode Property
Gets or sets the mode in which the active group is displayed in the collapsed Navigation Pane.
Namespace: DevExpress.Xpf.NavBar
Assembly: DevExpress.Xpf.NavBar.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
DevExpress.Xpf.NavBar.ShowMode | A ShowMode enumeration value that specifies the mode in which the active group is displayed in the collapsed Navigation Pane. The default is ShowMode.MaximizedDefaultItem. |
Remarks
Use the NavPaneShowMode property to specify how the active group is displayed in the collapsed Navigation Pane. The table below lists the available modes.
Value | Description |
---|---|
MaximizedDefaultItem | The default value. The collapsed Navigation Pane displays the button that occupies the entire area of the active group. A click on this button invokes the pop-up pane that provides access to the items of the active group. In code, the pop-up pane can be invoked via the NavigationPaneView.IsPopupOpen property. |
DefaultItem | The collapsed Navigation Pane displays the predefined All Foldes button. A click on this button invokes the pop-up pane. |
Items | The collapsed Navigation Pane displays the collapsed state items that can be specified via the NavBarGroup.CollapsedNavPaneItems or NavBarGroup.CollapsedNavPaneItemsSource collection. The pop-up pane cannot be invoked in this mode. |
All | Both, the predefined All Foldes button and the collapsed state items are displayed. The pop-up pane can be invoked by a click on the All Folders button. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the NavPaneShowMode 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.