Kashif
Kashif

Reputation: 14430

How to remove user control entries from toolbox in Visual studio?

There are dozens of user control in our project. All these controls load into the Toolbox. I think this slows down the system when we work with the designer. Is this true? If so, then how to remove these controls from the Toolbox?

Upvotes: 3

Views: 7628

Answers (3)

Aaron Hoffman
Aaron Hoffman

Reputation: 6962

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.

Upvotes: 6

RW.
RW.

Reputation: 141

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#).

Upvotes: 14

Jammin
Jammin

Reputation: 3090

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.

Upvotes: 2

Related Questions