Is there an example of how to do this in C# at run time, or can one be provided?
Thanks!
ex. of what I'm doing atm
foreach (MyClass eResult in e.Result) |
{ |
RadExpander re = new RadExpander(); |
re.Header = new TextBlock { Text = eResult.Title, Foreground = new SolidColorBrush(Colors.White) }; |
foreach (MyOtherClass in eResult.GroupItems) |
{ |
MyControl mc = new MyControl (); |
mc.item_name.Text = GroupItems.Name; |
mc.Id = GroupItems.Id; |
re.Content += mc + "\n"; |
} |
LayoutRoot.Children.Add(re); |
} |