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
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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
The UITypeEditor worked perfect!!! Thanks so much!!!
ASKER