Skip to main content
Home Forums Silverlight Programming Visual Studio & Silverlight Development Tools Including one XAML file in another XAML file
1 replies. Latest Post by mchlSync on June 25, 2008.
(0)
ebirrell
Member
8 points
13 Posts
06-25-2008 8:23 PM |
Hi,
This may have a very simple answer, but I can't work out how to do what I'm wanting:
I have a silverlight application with a lot of animations (storyboards). Some of them I would like to always include. I would like to choose which of the others to included dynamically (in app.xaml.cs or page.xaml.cs). I was thinking of putting each of the animation sets in it's own XAML file and simply including the appropriate file(s).
Does anyone know how to do this?
Thanks!
mchlsync
Star
14606 points
2,730 Posts
06-25-2008 9:08 PM |
I think it's possible. You may load those XAML using XamlReader on the fly.