UserControl: How to put a collection in PropertyBag
Posted on 2001-06-06
I am working on a UserControl that contains a ListView.
I am adding a property page and while the usual properties work fine, I don't know how to handle the number of Columnsheaders so that the number of columns is saved with the WriteProperty method.
It works fine for adding columns in the property page:
But when I run the project, as this number is not saved, the number of columns is lost since it cannot read this number.