hi roberto, first you need to create your collection class, this will be the
type of your property in your custom control. If you need to know how to
define a collection class, take a look at the following documentation on
msdn.
http://msdn2.microsoft.com/en-US/library/system.collections.collectionbase.aspx
Once you have this defined, make a public property in your custom control
with a getter accessor only. No setter =P
Ok, another thing i'm not clear with is when you say property of a property
? It seems to me you do not want a collection property but a property with a
complex type. If this is the case then instead of a collection class you can
have a normal class and this will be the type of your property.
A good, full working example for collection properties is also available on
msdn articles, take a look :
http://msdn2.microsoft.com/en-us/library/9txe1d4x(VS.80).aspx
Even though this one uses an arraylist(simplicity at its best), its a good
example and gives you a good idea on how to proceed.
If you are still confused, feel free to ask.
Have a good day,
Alessandro Zifiglio