TemplateContainer attribute - Flexible?

  • Thread starter Thread starter cosine... zero
  • Start date Start date
C

cosine... zero

Hi -

I want to build a templated control that can change types of the template at
runtime. Possible?

I would need to have TemplateContainer be a type that's either an abstract /
inherited type or be changeable at runtime, but I'm not sure I can have
either.

Any thoughts? I realize the obvious workaround is to inherit the control
and override the template container property to have that type, but... I'd
really rather do it the above ways if possible.


Thanks!

Jim Ankrom
 
See the container control. If I remember its templates are just classes that
implements a particular interface (ITemplate ?).

Patrice
 
Back
Top