Export (0) Print
Expand All

ContextMenuStrip Items Collection Editor

The ContextMenuStrip Items Collection Editor allows you to add, remove, and reorder ToolStripItem controls of a ContextMenuStrip and view and set ContextMenuStrip and ToolStripItem properties.

Display the ContextMenuStrip Items Collection Editor by:

  • Right-clicking a ContextMenuStrip control in the designer and choosing Edit Items from the shortcut menu.

  • Clicking the smart tag on a ContextMenuStrip control in the designer and choosing Edit Items from the ContextMenuStrip Tasks dialog box.

Add

Click to add the ToolStripItem that is displayed in the drop-down list. You can add one or more of the following controls:

Members

Displays the ContextMenuStrip and the members that it contains.

Properties

Displays the properties of the ContextMenuStrip or a selected member for editing.

Remove

Click the X button to remove the selected ToolStripItem. You cannot use this button to remove the ContextMenuStrip itself.

Reorder

Click the UP and DOWN arrows to move the selected ToolStripItem up or down in the Members list. Changes of order are reflected on the Windows Form in the designer.

See Also

Community Additions

Show:
© 2014 Microsoft