Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

NavBarGroupStyle Enum

Contains possible styles for representing a group’s contents.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

public enum NavBarGroupStyle

#Members

Name Description
Default

The link arrangement mode is dependent on the current View.

In the following Views, links are painted in the LargeIconsText mode: BaseView, FlatView, Office1View, Office2View, Office3View, AdvExplorerBarView, ExplorerBarView, UltraFlatExplorerBarView, XP1View, XP2View and XPExplorerBarView.

In other Views, links are painted in the SmallIconsText mode.

SmallIconsText

A group’s links are displayed in one column, using small icons and with captions.

GroupStyle_SmallIconsText

LargeIconsText

A group’s links are displayed in one column, using large icons and with captions.

GroupStyle_LargeIconsText

In the VSToolBoxView paint style, links are painted in the SmallIconsText mode.

SmallIconsList

A group’s links are displayed across then down, using small icons and without captions.

GroupStyle_SmallIconsList

This mode is supported in the following paint Views: BaseView, FlatView, Office1View, Office2View, Office3View, VSToolBoxView, UltraFlatExplorerBarView, XP1View, XP2View and NavigationPane.

In other paint Views, links are painted in the SmallIconsText mode.

LargeIconsList

A group’s links are displayed across then down, using large icons and without captions.

GroupStyle_LargeIconsList

This mode is supported in the following paint Views: BaseView, FlatView, Office1View, Office2View, Office3View, UltraFlatExplorerBarView, XP1View, XP2View and NavigationPane.

In other paint Views, links are painted differently:

  • VSToolBoxView - links are painted in the SmallIconsList mode.

  • all other paint Views - links are painted in the LargeIconsText mode.

ControlContainer

This setting allows you to display any controls within the group. In this case, the group does not display its links. Instead, it provides a container control - a surface on which you can place any arbitrary controls. For more information, see the NavBarGroupControlContainer topic.

In the image below the NavBarControl’s group displays a Tree List control.

GroupStyle_ControlContainer_TreeList

#Related API Members

The following properties accept/return NavBarGroupStyle values:

Library Related API Members
WinForms Controls NavBarGroup.GroupStyle
.NET Reporting Tools ToolBoxDockPanel.GroupsStyle
XRDesignToolBox.GroupsStyle

#Remarks

The NavBarGroupStyle class enumerates values for the NavBarGroup.GroupStyle property. Use this property to specify how the group’s contents are displayed.

Note that specific Views do not support all the available styles. See the fields’ descriptions for details.

See Also