Hide a Component from Visual Studio Windows Forms

2019-08-24 02:59发布

问题:

I'm just about to develop a custom component in Visual Studio 2010. In contrast to controls components are not visible during runtime and in design time they are shown in a component panel at the bottom of the designer window.

My custom component is able to create other components so that the created components are linked to my custom component. As I can create a lot of new components I would like to hide them from the component panel as I can access them via my custom control.

Is it possible to programmatically (or at all) hide components from the component panel?

回答1:

Maybe you should check the options of the component. There are a few options to hide the objects, make them available and more. To check the options just click the component + Alt + enter.