Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

How to: Enable Reordering of ToolStrip Items at Run Time in Windows Forms 

You can enable the user to rearrange ToolStripItem controls on the ToolStrip.

To enable ToolStripItem rearrangement at run time

  • Set the AllowItemReorder property to true. By default, AllowItemReorder is false.

    At run time, the user holds down the ALT key and the left mouse button to drag a ToolStripItem to a different location on the ToolStrip.

    toolStrip1.AllowItemReorder = True

    toolStrip1.AllowItemReorder = true;

See Also

Community Additions

© 2015 Microsoft