Link to home
Create AccountLog in
Avatar of coloccia
coloccia

asked on

Create Usercontrol with property like TabPages Collection

Hello,

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!

Miguel
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of coloccia
coloccia

ASKER

Thanks Idle_Mind, this might be exactly what Im looking for, I'll look into it and let you know. Thanks
The UITypeEditor worked perfect!!! Thanks so much!!!