Hide a Component from Visual Studio Windows Forms designer

时光总嘲笑我的痴心妄想 提交于 2019-12-12 01:54:26

问题


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.



来源:https://stackoverflow.com/questions/8942487/hide-a-component-from-visual-studio-windows-forms-designer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!