Create Usercontrol with property like TabPages Collection
Posted on 2010-11-11
Im trying to create my own custom tab control. I know you can inhert the vb.net provided tab control and then work with its properties however in this case I want to create my own from scratch. One of the first things that I want to do is create a property much like the TabPages property on the vb.net TabControl. Im having a real hard time creating a property like this. I would like for the property to be dynamic at runtime and maybe even open a form that would allow the user/designer to add tabs at design time by clicking "add tab" or something like that. Basically I want more than just the one value property, I want a property that is like a collection and able to be set at designtime. Thanks for any help with this!