I am building a complete custom designer, but have run into a major snag.
My primary document class contains a collection property. No matter how hard
I try, I can not get the CodeDom engine to create the Add or AddRange
statements to add elements to that collection property. When a toolbox item
is invoked, I notify the component change service about collections changing
and changed events as well as actually perform the Add to the collection, but
no Add or AddRange lines ever appear in the generated code. The property is
correctly marked as content visible for designer serialization.
What did I overlook?
Thanks a lot,
Brandon Bloom