Live Chat Icon For mobile
Live Chat Icon

How do I prevent my Component from becoming visible in the VS.Net Toolbox?

Platform: WinForms| Category: Tips

Use the ToolboxItem(false) attribute on your Component/Control class. This will prevent it from appearing in the Toolbox.


[ToolboxItem(false)]
public class MyComponent : Component{..}

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.