Collection properties

G

Guest

I am writing a component that has a Collection property. I am inheriting from CollectionBase that is strongly typed for an object class I have. I get the standard dialog for collections but when I close the form and open it the collection items are not showing in the collection editor. Not sure what else I need in order for this to work

Kenneth
 
G

Guest

Well I always have to answer my own questions ;) I did a search on persistent C# collection properties on Google and the very first item that came up had a great source of information on this subject if you wanted to know

http://community.borland.com/article/0,1410,31878,00.htm

This talks about creating a base class collection and a collection item that is serialized during design time (persistent in Delphi world for those like me now moving toward C#). I myself created a template for new classes that inherit from both of these :

Kenneth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top