Help with a collection item property's designer

  • Thread starter Andrés Giraldo
  • Start date

A

Andrés Giraldo

Hi!

I'm trying to creat a custom TabStrip Control, everything's ok but I
want that in design time the developer creates each tab of the items
property by a designer on the property tool box.

I didn't ever work with designers, but I think it's no necesary to
create one in this case, the Items property what I'm talkin is a item
colleccion class that inherits from System.Collections.CollectionBase,
so i just declare Items property as public, and the ToolBox property
shows me the designer I need, but there's a little problem...

When I create the Item Collection in this way, It adds to my control a
property Items and it's value is (Collection)... How can I fix that?

Items=(Collection)

Thanks a lot for any advice!
 
Ad

Advertisements


Top