ComponentOne Menus and Toolbars for WinForms
Design-Time Support / Command Context Menus
In This Topic
    Command Context Menus
    In This Topic

    Each of C1Commands components provides a context menu for additional functionality to use at design time.

    Command Links context menu

    Right-click on the command link item for a menu item or toolbar button to open the following context menu.

    Note: The only difference between the Command Links context menu for menus and the one for toolbar is the Menu Properties/Toolbar Properties command.

    Command Links context menu

    The following table provides a brief description of the custom items added by C1MainMenu and C1ToolBar controls to their context menus:

    Custom Items Description
    Edit Brings up the Link to Command designer for the currently selected command link. You can edit the currently linked command, or link to another (new or existing) command. This item is disabled when there is no currently selected command link.
    Insert Item Inserts a new command link before the current one, and opens the Link to Command designer. This item is disabled when there is no currently selected command link.
    Append Item Adds a new command link after the last one in the current menu or toolbar, and brings up the command edit designer for the new link.
    Add Child Item Adds a new command link to the menu (C1CommandMenu or C1ContextMenu) linked by the currently selected command link and it opens the Link to Command designer. This item is disabled unless the current command link is linked to a C1CommandMenuor C1ContextMenu type command.
    Link Properties Selects the command link and shows its properties in the Properties window.
    Command Properties Selects the command and shows its properties in the Properties window. Note that for non-empty links, clicking a link toggles between link’s own and linked command’s properties.
    Menu Properties Selects the menu and shows its properties in the Properties window.
    Note: All menu-editing actions are fully undoable using the Visual Studio’s Undo facility.

    C1DockingTab context menu

    Right-click on the C1DockingTab control to open its context menu.


    C1DockingTab context menu

    The following table provides a brief description of the custom items added by C1DockingTab control to its context menu:

    Custom Items Description
    About C1DockingTab Opens the About Licenses dialog box, which provides information about Component One Studio License.

    C1DockingTab context menu

    The following table provides a brief description of the custom items added by C1DockingTab control to its context menu:

    Custom Items Description
    About C1DockingTab Opens the About Command dialog box, which is helpful in finding the version number of C1Command and online resources.
    Add Page Adds a new page to the C1DockingTab.

    C1OutBar context menu

    Right-click on the C1OutBar control to open its context menu.


    C1OutBar context menu

    The following table provides a brief description of the custom items added by the C1OutBar control to its context menu:

    Add page with Toolbar Adds page with a toolbar.
    Add Empty Page Adds a new C1OutPage without a C1ToolBar inside it.
    About C1OutBar Opens the About Command dialog box, which is helpful in finding the version number of C1Command and online resources.

    C1NavBar context menu

    Right-click on the C1NavBar control to open its context menu.


    C1NavBar context menu

    The following table provides a brief description of the custom items added by the C1NavBar control to its context menu:

    Custom Items Description
    Add section header Adds a section header.
    Add horizontal rule Adds a horizontal rule.
    Add docked panel Adds a docked panel.
    About C1NavBarPanel Opens the About Command dialog box, which is helpful in finding the version number of C1Command and online resources.
    Edit Buttons Opens the C1NavBarButton Collection Editor.

    C1TopicBar context menu

    Right-click on the C1TopicBar control to open its context menu.


    C1TopicBar context menu

    The following table provides a brief description of the custom items added by the C1TopicBar control to its context menu:

    Custom Items Description
    Add Page Adds a new C1TopicPage to the C1TopicBarcontrol.
    About C1TopicBar Opens the About Command dialog box, which is helpful in finding the version number of C1Command and online resources.
    See Also