Export (0) Print
Expand All
Expand Minimize

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

ADD
Show:
© 2014 Microsoft