How to create DataTemplate at runtime?

Posted by Naseem on Stack Overflow See other posts from Stack Overflow or by Naseem
Published on 2010-05-05T01:01:21Z Indexed on 2010/05/05 1:08 UTC
Read the original article Hit count: 203

Filed under:

Hi ,

I have defined the DataTemplate in the XAML, however I need to change it to be defined at run time , because its binding is dynamic.

Is there any way to define it in codebehind?

Thank you,

© Stack Overflow or respective owner

Related posts about Silverlight