Home » FAQ » WinForms » Tips » How do I prevent my Component from becoming visible in the VS.Net Toolbox?
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{..}
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with