Nm... i forgot about the MyClass.Content = new YourControlHere() is what i was looking for..
RTFM? :) From: [email protected] [mailto:[email protected]] On Behalf Of Scott Barnes Sent: Wednesday, March 24, 2010 2:40 PM To: ozSilverlight Subject: Create a child for a UserControl? Q. Does anyone know if you can instantiate a Control into a raw UserControl class, in that if you File->New->MyClass and then inherit UserControl. How does one new-up a Grid/Panel etc within the construct of that class? (Given it has no MyClass.Children) I know you can do it if do MyClass.xaml.cs via that approach, but interested to know of an alternative approach? Scott.
_______________________________________________ ozsilverlight mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
