Silverlight 4.0: Convert a control to a datatemplate in codebehind

Posted by xscape on Stack Overflow See other posts from Stack Overflow or by xscape
Published on 2010-04-26T06:49:29Z Indexed on 2010/04/26 6:53 UTC
Read the original article Hit count: 202

is there an alternative way to do this in Silverlight 4.0:

StackPanel StackPanel1 = new StackPanel();
DataTemplate1.VisualTree = StackPanel1;

How?

© Stack Overflow or respective owner

Related posts about silverlight-4.0

Related posts about datatemplate