Back to Devexpress

NavBarGroup.NavPaneShowMode Property

wpf-devexpress-dot-xpf-dot-navbar-dot-navbargroup-481d0f0b.md

latest3.5 KB
Original Source

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

NuGet Package : DevExpress.Wpf.NavBar

Declaration

csharp
public ShowMode NavPaneShowMode { get; set; }
vb
Public Property NavPaneShowMode As ShowMode

Property Value

TypeDescription
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.

|

See Also

Collapsed Navigation Pane

CollapsedNavPaneItems

CollapsedNavPaneItemsSource

IsPopupOpen

NavBarGroup Class

NavBarGroup Members

DevExpress.Xpf.NavBar Namespace