I've made a custom listviewitem inherited from listviewitem, made a
custom collection of it, and made a custom listview that inherits from
my collection. I can see my new property ("Enabled") in the collection
editor but the code that the IDE generates does not reference my custom
listviewitem. It saves an ordinary listviewitem.
How do I get it to save my custom listviewitem?
Thanks
Tom
Mujdat Dinc - 19 Apr 2005 11:20 GMT
Hi,
I think this is a serialization problem. You must implemet typeconverter for
your new class and support InstaceDescriptor convertion to let the
componentserializer to serialize your class. This makes your new class
instance rendered in code.
> I've made a custom listviewitem inherited from listviewitem, made a
> custom collection of it, and made a custom listview that inherits from
[quoted text clipped - 6 lines]
> Thanks
> Tom