> I have one class that descends from Component which has few public
> propertis where some of them are also objects with their own public
> properties.
Take a look at these properties:
in the parent class:
[PersistenceMode(PersistenceMode.InnerProperty),
DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
in the embedded class:
[NotifyParentProperty(true)]
that should help you to fix your problem.

Signature
best regards
Peter Koen
-----------------------------------
MCAD, CAI/R, CAI/S, CASE/RS, CAT/RS
http://www.kema.at
Doychin Bondzhev - 14 Oct 2003 07:52 GMT
I tryed these attributes but they are ASP.NET specific which means I can't
use them in regular componenets only wiht ASP.NET which will be managed by
ASP.NET designer.
from what I see and read it looks like thi is not supported by the standard
serializer that is used to serialize componets in component desinger.
and probably in this case I will have to write my own serializer to supporte
object type properties into components.
and it is som simple to achive this in Delphi for example ;-(
all that stuff with attributes and type converters and all these special
serializers to support such simple think as property of type any object wiht
other public propeties inside it.
This is supported only for controls from what I see.
Doychin
> > I have one class that descends from Component which has few public
> > propertis where some of them are also objects with their own public
[quoted text clipped - 10 lines]
>
> that should help you to fix your problem.