views:

11

answers:

1

I was just creating a Windows form that uses a ToolTip control and it occurred to me that this control (or component to be right on the terminology) provides design time properties for every other control on the form.

How can I achieve this for a control of my design?

+1  A: 

That bit of magic is created by inheriting and implementing the IExtenderProvider interface. It is pretty easy to do, the designer is doing all the heavy lifting. There's a very good How To in this MSDN Library article.

Hans Passant
Thanks a million!!
Paulo Santos