There are dozens of user control in our project. All these controls loads in Toolbox. I think this slows down the system when we work in designer. Is it true? if so the how to remove these controls from tollbox?
Thanks.
There are dozens of user control in our project. All these controls loads in Toolbox. I think this slows down the system when we work in designer. Is it true? if so the how to remove these controls from tollbox?
Thanks.
You can either delete the tab they are all in by right clicking and "Delete Tab".
Or just right click on the item itself and "Delete"
Ive persoanlly never noticed a slow down and ive all the Telerik ASP.NET set and quite a few custom ones in certain projects.
If you want to prevent certain usercontrols in your project from being auto-added to the toolbox, then you can add the [System.ComponentModel.ToolboxItem(false)]
attribute to your usercontrol class (This syntax assumes you're using C#).
This will definitely slow down VS if there are a lot of projects all containing user controls.
Answer from linked questions:
Check this setting:
Tools > Options > Windows Forms Designer > General : AutoToolboxPopulate
It should be set to FALSE.