TemplateContainer attribute - Flexible?

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
 
P

Patrice

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

Patrice
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,795
Messages
2,569,644
Members
45,359
Latest member
1854578

Latest Threads

Top