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

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.v18.2.dll

Declaration

public ShowMode NavPaneShowMode { get; set; }

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.

NavigationPane_Collapsed_NavPaneShowMode_MaximizedDefaultItem

DefaultItem

The collapsed Navigation Pane displays the predefined All Foldes button. A click on this button invokes the pop-up pane.

NavigationPane_Collapsed_NavPaneShowMode_DefaultItem

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.

NavigationPane_Collapsed_NavPaneShowMode_Items

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.

NavigationPane_Collapsed_NavPaneShowMode_All

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.

See Also