Yuriy
Yuriy

Reputation: 2691

How to get coordinates of ToolStripButton?

How can I get coordinates of ToolStripButton?

Upvotes: 10

Views: 3297

Answers (1)

Hans Passant
Hans Passant

Reputation: 941218

 Rectangle rc = toolStripButton1.Bounds;

Relative from the ToolStrip. Use PointToScreen/Client to map.

Upvotes: 12

Related Questions