# Embedded Controls in Toolbars

Get started with Menus and Toolbars for WinForms. Create versatile menus and docking/floating toolbars. See more in documentation here.

## Content



The [C1CommandControl](/componentone/docs/win/online-menus-toolbar/) lets you embed arbitrary controls to the toolbar.

Arbitrary controls such as a textbox can be embedded in a [C1ToolBar](/componentone/docs/win/online-menus-toolbar/) through the use of the [C1CommandControl](/componentone/docs/win/online-menus-toolbar/).

This can simply be done by dragging an arbitrary control on to the toolbar, adding a [C1CommandControl](/componentone/docs/win/online-menus-toolbar/) command type through the designer, or adding a [C1CommandControl](/componentone/docs/win/online-menus-toolbar/) command type programmatically.

For more information about how to embed an arbitrary control into the [C1ToolBar](/componentone/docs/win/online-menus-toolbar/) object, see [Adding an Arbitrary Control to the Toolbar](/componentone/docs/win/online-menus-toolbar/menusandtoolbarsforw2/toolbartasks/addinganarbitrarycon).

When an arbitrary control is dragged to the toolbar it automatically creates a new command type called [C1CommandControl](/componentone/docs/win/online-menus-toolbar/). The [C1CommandControl](/componentone/docs/win/online-menus-toolbar/) includes a [Control](/componentone/docs/win/online-menus-toolbar/) property which gets the arbitrary control attached to the command.

The following image shows a **RadioButton**, **CheckBox**, and a **ComboBox** control embedded into the [C1ToolBar](/componentone/docs/win/online-menus-toolbar/).

<br />![Controls embedded in toolbar](https://cdn.mescius.io/document-site-files/images/a27cb622-e6d9-4efc-a0b0-0c31245fd632/embeddedtoolbars.png)

## See Also

[Run-Time Customization for Toolbars](/componentone/docs/win/online-menus-toolbar/menusandtoolbarsover/toolbarsappearancean/runtimecustomization)