[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Collapse]Navigation Controls
   [Expand]Accordion Control
   [Collapse]Navigation Bar
    [Expand]Views
    [Collapse]Groups
      Group Content Model
      Expand and Collapse Groups
      Expanded Group
      Active Group
    [Expand]Items
     Binding to Data
    [Expand]Visual Elements
    [Expand]Miscellaneous
    [Expand]Member Tables
    [Expand]Examples
     Main Features
     Product Class Structure
    Office Navigation Bar
    TileNav Pane
    Tile Bar
   [Expand]Wizard Control
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Active Group

The concept of the "active group" is interpreted differently within the DXNavBar control, depending upon the current View applied. In Side Bar and Navigation Pane Views, which allow only one group to be opened at a time, the active group specifies the expanded group, and the active group functionality allows you to manipulate group expansion states programmatically. In the Explorer View, the "active group" term is not directly coupled with the "expanded group" concept. In this View, the active group is the group whose header was last clicked by an end-user.

The DXNavBar control allows you to define its active group via different means. You can do this by using the NavBarControl.ActiveGroup property at the DXNavBar control level. You can also execute the NavBarCommands.SetActiveGroup command of the DXNavBar. At the group level, the NavBarGroup.IsActive property can be used to determine a group's state.

Before changing the active group, the NavBarViewBase.ActiveGroupChanging event is raised, allowing you to cancel the action. After the active group has been changed, the NavBarViewBase.ActiveGroupChanged event is raised.

Note that in Side Bar and Navigation Pane Views, the SideBarView.ActiveGroupMinHeight and NavigationPaneView.ActiveGroupMinHeight properties (respectively) can be used to define a minimal height that the active group should have within the DXNavBar.

Expanded Member Table

Expanded Task-Based Help

Expanded See Also

Is this topic helpful?​​​​​​​