ComponentOne Menus and Toolbars for WinForms
Menus and Toolbars Overview / Common Objects Used to Create Menus and Toolbars / CommandControl Command
In This Topic
    CommandControl Command
    In This Topic

    C1CommandControl is a command which can be associated with an arbitrary control. This functionality is provided by the class C1CommandControl, derived from C1Command. Controls can be dragged from the Visual Studio Toolbox and dropped onto a C1MainMenu or C1ToolBar. This automatically creates a C1CommandControl, connects it to the dropped control, and adds a link to the new command to the toolbar. This command allows at most one command link to be connected to it.

    Note: A small control can be added inside it, but it does not handle large controls such as containers.

    For more information about using C1CommandControl, see Adding an Arbitrary Control to the Toolbar.

    See Also