Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[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
  [Collapse]Ribbon, Bars and Menu
   [Collapse]Bars
    [Expand]Tutorials
     MDI Merging
    [Expand]Bar Manager Designer
    [Expand]Runtime Customization and Layout Management
    [Expand]Appearance and Hotkeys
   [Expand]Ribbon
   [Expand]Popup Menus
    Radial Menu
   [Expand]Common Features
   [Expand]Examples
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical 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
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Bars

Overview


Bars implement the hierarchical menu model in applications; this model is the traditional way of organizing application command regions. The DevExpress Bar Manager component offers many capabilities used in creating and customizing toolbars.

Each bar is a horizontally or vertically aligned stripe that contains buttons, editors, radio button groups, etc. The DevExpress Bars Library provides three toolbar types: main menu, regular toolbars and status bars. Toolbars of all types used within the application form create a toolbar system. The Bar Manager component provides organized access to this entire system. Additionally, using the Bar Manager component you can create context and pop-up menus. Follow the links below to learn more about Bar Manager concepts and features.

Tutorials


A series of documents that gradually introduce main Bars concepts in terms of simple step-by-step tutorials.

  • Add and Remove Toolbars
    A start-up tutorial that features the core component of the DevExpress Bars Library - the BarManager. You will learn about the initial layout provided by the Bar Manager component and toolbar types supported by it.

  • Add Bar Items To Toolbars
    In this lesson, you will learn how to add simple buttons, sub-menus, editors and static label items to your toolbars.

  • Bar Item Links
    This tutorial introduces the bar item/bar item link concept, used in both Bars and Ribbon libraries. You will learn how to display the same bar item in multiple different places without duplicating it.

  • Provide Functionality to Bar Items
    Explains how to provide the required functionality to bar items and their links by handling specific events or assigning MVVM-related commands.

  • Toolbar Customization
    This document illustrates how to provide additional dock, size and display settings for toolbars.

  • Recently Used Items
    Learn how to shorten your sub-menus by temporarily hiding their least significant items.

  • Create Popup Menus
    A tutorial that briefly describes how to provide your Bars UI with context menus.

MDI Merging


In multi-document interface (MDI) applications, both parent and child MDI forms can have their own menus and bars. The menu of the parent MDI form usually provides general commands (for working with files, windows, etc.), while a child MDI form has bars and menus that provide functionality specific to this exact window. DevExpress Bars can combine these separate toolbars within the parent form.

Bar Manager Designer


The Bar Manager Designer is a multi-page dialog invoked at design time. Using this dialog, you can perform any required task, from adding toolbars and populating them with item links, to saving and restoring different layout variations.


Runtime Customization and Layout Management


Not a single layout, not even the most thorough and well-built layout, can satisfy each and every customer. That is why it is important to provide an opportunity for your end-users to customize the application UI as they see fit. DevExpress Bars fully support live customization, and with the save/restore layout feature, your users can store multiple layout variations and dynamically switch between them.

Appearance and Hotkeys


See Also


  • Ribbon
    The Ribbon Control implements the Ribbon UI, which was first introduced in Microsoft Office 2007. The Ribbon UI, which is an alternative to the standard bars and hierarchical menu model in applications, is designed to improve application usability by grouping menu commands into pages and categories.

  • Visual Studio Inspired UI
    This tutorial is dedicated to the popular application UI - a classic layout that contains tabbed or MDI Documents that represent the main working area, panels at the side of the form, and a main menu at the top, similar to the UI in Microsoft Visual Studio.

How would you rate this topic?​​​​​​​