I have a design time component library containing components some of whihc
should be available on the ToolBox and some which shouldn't.
The ones that shouldn't are meant solely for use as Properties of other
components.
When I add the library to the Toolbox , of course all components are added
and the components that I don't want in the ToolBox are always grayed out.
I can later deselect the components that I don't want in the toolbox to hide
them which is fine for me but not necessarily so good for distribution.
Is there a way to tell the specify that a specific component should never be
added to the ToolBox ?
Gerry
Ulrich Sprick - 08 Jan 2005 17:53 GMT
Hi gerry,
there is an attribute you can decorate the class with, I think it is call
"ShowInToolboxAttribute" or so. Search the msdn index.
HTH, ulrich.
> I have a design time component library containing components some of whihc
> should be available on the ToolBox and some which shouldn't.
[quoted text clipped - 8 lines]
>
> Gerry