Collapsible member events in Visual Studio designer
-
05-07-2019 - |
Question
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:
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.
Solution
I think you have to implement a TypeConverter. http://msdn.microsoft.com/en-us/library/ayybcxe5.aspx
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow