Click here to Skip to main content
15,667,885 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The Visual Studio designer has an option to right click on a ToolStripItem (for example a ToolStripButton), choose Convert To and convert it to other type of ToolStripItem (for example a ToolStripLabel).
Is it possible to achieve this programmatically, at runtime?
Thank you.

1 solution

This is a design time feature only, you can't change it at runtime. You would need to replace the ToolStripItem with a ToolStripLabel at runtime to get similar functionality.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900