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.

  • 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

Reference

ContextMenuStrip Control Overview

Other Resources

Windows Forms Designer Editors