[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Collapse]Navigation Controls
   [Collapse]Navigation Bar
     Views
    [Expand]Appearance
     Save and Restore Layout
    [Collapse]Examples
     [Expand]Appearance
     [Collapse]Layout
       How to: Activate a Group
       How to: Adjust Group's Drag and Drop Options
       How to: Adjust the Control's Drag and Drop Options
       How to: Create a NavBar Control in Code
       How to: Create Groups and Items
       How to: Expand and Collapse Groups
       How to: Hide a NavBar's Item
       How to: Iterate Through Groups and Links of Each Group
       How to: Iterate Through NavBarControl Items
       How to: Keep Links Sorted
       How to: Prohibit Dropping to a Group
       How to: Embed a DateControl into a Group
     [Expand]Miscellaneous
      Responding to User Clicks at Runtime
    [Expand]Member Tables
     NavBarControl to AccondionControl Converter
   [Expand]Accordion Control
    Navigation Frame and Tab Pane
    Navigation Pane
    Tile Bar
   [Expand]TileNav Pane
    WindowsUI Button Panel
   [Expand]Office Navigation Bar
   [Expand]Tile Control
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[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]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

How to: Hide a NavBar's Item

The following sample code hides the item which corresponds to the second link of the second group. Note that if an item is hidden, all corresponding links become invisible.

The example below displays a NavBarControl control before and after sample code execution. Note that hiding an item results in hiding two links.

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