Menus and Toolbars

Create docking/floating toolbars, multi-level menus, and context menus with ComponentOne Menus and Toolbars™ for WinForms. Built on the C1Command framework, these powerful controls include the latest built-in Microsoft Office Visual Styles so you can achieve a professional look and feel across your entire application.

Controls Included

  • C1MainMenu and C1ContextMenu display multi-level and multi-column menus for navigation and commanding. Each menu contains a collection of command links, each linked to a single shared command.
  • C1ToolBar is a control which represents a toolbar. Like the C1MainMenu it contains a collection of command links.
  • C1CommandHolder stores all of the menu and toolbar's commands as a single collection. All commands trigger the C1CommandHolder's Click event. This keeps your code organized and allows you to share commands across multiple menus and toolbars. The C1CommandHolder component is automatically created and managed for you.
  • The C1CommandDock control provides docking and floating capabilities for C1Toolbar.

Features

  • Integrated C1Command Framework

    The Menus and Toolbars suite integrates menus and toolbars into a single system, allowing you to reuse the same objects and code for menu items and toolbar buttons. The same command item (text, image, event handling code) can be used in several menus and/or toolbars at the same time.

  • Docking/Floating Toolbars

    With docking/floating behavior you can create a layout that can be easily made end-user customizable. To make a toolbar that end-users are able to move around the form, dock to its sides, or make it a floating toolbar, simply put your C1ToolBar controls inside C1CommandDock containers.

  • No-code Design Experience

    Menus and Toolbars features extensive design-time support, including ComponentOne SmartDesigner® technology. The context-sensitive floating toolbars are activated with a single mouse click, where you can make changes right on the design surface. The C1Command designers even come with over 50 common commands with text, icons, and shortcut keys already configured for you.

  • Built-in Visual Styles

    All menu and toolbar controls support Visual Styles that mimic the styles available in Microsoft Office 2010 including Blue, Silver, and Black. Also choose from Office 2003, 2007 and Windows XP styles.

  • Global Key Shortcuts

    You can use shortcut and mnemonic keys to access a menu by the keyboard instead of the mouse. The shortcut keys are also usable for commands not present in any menus or toolbars.

  • Support for MDI Applications

    Special support for MDI (Multiple Document Interface) applications, including built-in MDI child windows list and hierarchical shortcut key processing. In MDI applications, you can restrict the amount of menu items the list displays, show hidden MDI windows in the menu's list, and merge the menu items.

  • Merging Menus

    With Menus and Toolbars you can easily enable the merging of MDI child windows with MDI parent menus and toolbars. You can also specify the type of behavior for the merge and choose whether to add, replace, remove, or merge menu items, as well as specify the merging order of the menu items or toolbar buttons.

  • Multi-level Menus

    Create a hierarchy of commands or options by adding submenus to the main menu.

  • Embedded Controls

    You can easily embed arbitrary controls such as text boxes, radio buttons, and check boxes in the menus and toolbars.

  • Run-time Customization

    C1Toolbars can be customized at run time by setting the CustomizeButton property to True at design time. When the customization is enabled a drop-down arrow appears on the toolbar allowing users to show or hide additional commands.

  • Feature-rich Context Menus

    Easily add a context menu to any arbitrary control on your form with the C1ContextMenu control. C1ContextMenu shares the same features set as C1MainMenu.