Geysser
Member
- Joined
- Apr 6, 2010
- Messages
- 17
- Programming Experience
- 5-10
Here is a thing I've been confused about for a long time now.
I'm creating a package full of custom controls and one thing that I've being really frustrated about is that I have to write the same properties over and over again, in each one of these controls. You see, each control has more or less the same properties to customize its appearance - gradients, glass effects, etc.
Is there a way to somehow share all these properties between controls? One way I thought was to create a "basis" control for all the other to inherit from, but something tells me that this is not the right way-plus, this control would be compiled in the toolbox, which I don't want. Any ideas?
I'm creating a package full of custom controls and one thing that I've being really frustrated about is that I have to write the same properties over and over again, in each one of these controls. You see, each control has more or less the same properties to customize its appearance - gradients, glass effects, etc.
Is there a way to somehow share all these properties between controls? One way I thought was to create a "basis" control for all the other to inherit from, but something tells me that this is not the right way-plus, this control would be compiled in the toolbox, which I don't want. Any ideas?