Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.NavBar

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

See Also