HAdes
HAdes

Reputation: 17033

How to reorder ToolStrip items in code

How do you programatically reorder items on a ToolStrip in C#.

Thanks.

Upvotes: 6

Views: 3628

Answers (1)

HAdes
HAdes

Reputation: 17033

I have found a way around this by using the Insert() method of the Items collection and specifying the index i want the item at.

i.e.

toolStrip1.Items.Insert(0, myButton);

Upvotes: 10

Related Questions