Aracılığıyla paylaş


How to: Move a ToolStrip Out of a ToolStripContainer onto a Form

Use the following procedure to move a ToolStrip out of a ToolStripContainer onto a form.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To move a ToolStrip out of a ToolStripContainer onto a form

  1. Select the ToolStrip.

  2. Cut the ToolStrip by pressing CTRL+X, or right-click the ToolStrip and choose Cut from the context menu.

  3. Select the form.

  4. Paste the ToolStrip by pressing CTRL+V, or choose Paste from the Edit menu.

  5. Set the Dock property of the ToolStrip to Top.

See Also

Reference

ToolStrip

ToolStripContainer

ToolStrip Control Overview (Windows Forms)