CollectionBase to PropertyGrid
-
Hello... I have a collection, derive from CollectionBase. If I put that collection to PropertyGrid, I cannot see the item in list. It shows only Capacity and Count. How to do that ? Thx...
-
Hello... I have a collection, derive from CollectionBase. If I put that collection to PropertyGrid, I cannot see the item in list. It shows only Capacity and Count. How to do that ? Thx...
Hi, If you want to see the items of the collection as child properties in the grid, you need to assign your collection property a TypeConverter that will publish the items as properties (override GetPropertiesSupported and GetProperties). Best regards, Nicolas Cadilhac @ VisualHint Smart PropertyGrid.Net Microsoft PropertyGrid Resource List Free PropertyGrid for MFC Smart FieldPackEditor.Net / DateTimePicker