views:

98

answers:

1

How can I get my control members to show their events on the Visual Studio event grid? Visual Studio does this for certain things like the "(DataBindings)" member by putting them in a collapsible section, like so:

collapsible events in visual studio

I'd like to do this for some of my own components, since their events are usually handled on the form, and having to create handlers manually is annoying.

A: 

I think you have to implement a TypeConverter. http://msdn.microsoft.com/en-us/library/ayybcxe5.aspx

Øyvind Skaar