How do I create custom Controls for my VS2005 toolbox?
Posted
by end-user
on Stack Overflow
See other posts from Stack Overflow
or by end-user
Published on 2010-04-28T17:11:11Z
Indexed on
2010/04/28
17:13 UTC
Read the original article
Hit count: 188
Ok, this question might more about design theory. I have successfully created controls that show up in my toolbox, so I'm pretty sure I have the process right. Also, my "AutoToolboxPopulate" is set to true, so things are showing up as I create them. My question is this: I'm sub-classing a native Control for specialized use. When I derive my class from an exposed concrete class, such as BulletedList, my custom Control appears in my Toolbox. However, when I drop it back to the parent, such as ListControl, my Control is not listed (actually it's grayed out when I "List All"). What am I missing?
© Stack Overflow or respective owner