<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Swapping Content In the Code Behind in Silverlight</title>
	<atom:link href="http://www.designerwpf.com/2008/10/23/swapping-content-in-the-code-behind-in-silverlight/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designerwpf.com/2008/10/23/swapping-content-in-the-code-behind-in-silverlight/</link>
	<description>Matthias Shapiro's WPF &#38; Silverlight Blog - Because Developers Get All The Good Blogs</description>
	<lastBuildDate>Tue, 07 Sep 2010 13:52:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Matthias</title>
		<link>http://www.designerwpf.com/2008/10/23/swapping-content-in-the-code-behind-in-silverlight/comment-page-1/#comment-2670</link>
		<dc:creator>Matthias</dc:creator>
		<pubDate>Tue, 15 Jun 2010 16:00:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.designerwpf.com/2008/10/23/swapping-content-in-the-code-behind-in-silverlight/#comment-2670</guid>
		<description>bi, 

You can do that with the following code: 

Storyboard timelineHolder = new Storyboard();
Storyboard oldSB = (Storyboard)Resources[&quot;MyFirstStoryboard&quot;];
Storyboard newSB = (Storyboard)Resources[&quot;MySecondStoryboard&quot;];

timelineHolder.Children = oldSB.Children;

oldSB.Children = newSB.Children;
newSB.Children = timelineHolder.Children;

Now the content between the first and second storybaords are swapped.</description>
		<content:encoded><![CDATA[<p>bi, </p>
<p>You can do that with the following code: </p>
<p>Storyboard timelineHolder = new Storyboard();<br />
Storyboard oldSB = (Storyboard)Resources["MyFirstStoryboard"];<br />
Storyboard newSB = (Storyboard)Resources["MySecondStoryboard"];</p>
<p>timelineHolder.Children = oldSB.Children;</p>
<p>oldSB.Children = newSB.Children;<br />
newSB.Children = timelineHolder.Children;</p>
<p>Now the content between the first and second storybaords are swapped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bi</title>
		<link>http://www.designerwpf.com/2008/10/23/swapping-content-in-the-code-behind-in-silverlight/comment-page-1/#comment-2669</link>
		<dc:creator>bi</dc:creator>
		<pubDate>Tue, 15 Jun 2010 14:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.designerwpf.com/2008/10/23/swapping-content-in-the-code-behind-in-silverlight/#comment-2669</guid>
		<description>If I have two Storyboard x:Name =1 and Storyboard x:Nam=2; How do I swap content between Storyboard1 and Storyboard2.</description>
		<content:encoded><![CDATA[<p>If I have two Storyboard x:Name =1 and Storyboard x:Nam=2; How do I swap content between Storyboard1 and Storyboard2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Li</title>
		<link>http://www.designerwpf.com/2008/10/23/swapping-content-in-the-code-behind-in-silverlight/comment-page-1/#comment-1055</link>
		<dc:creator>Steve Li</dc:creator>
		<pubDate>Fri, 31 Oct 2008 11:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.designerwpf.com/2008/10/23/swapping-content-in-the-code-behind-in-silverlight/#comment-1055</guid>
		<description>We have FlipControl and SlideShowControl for this purpose.
There are lot of patterns for the SlideShowControl, see SlideShow section here:
http://www.cellbi.com/svlite/Demo/SvFxDemo.html
Make sure to check out pattern Gallery (right side of properties editor)</description>
		<content:encoded><![CDATA[<p>We have FlipControl and SlideShowControl for this purpose.<br />
There are lot of patterns for the SlideShowControl, see SlideShow section here:<br />
<a href="http://www.cellbi.com/svlite/Demo/SvFxDemo.html" rel="nofollow">http://www.cellbi.com/svlite/Demo/SvFxDemo.html</a><br />
Make sure to check out pattern Gallery (right side of properties editor)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 2008 October 24 - Links for today &#171; My (almost) Daily Links</title>
		<link>http://www.designerwpf.com/2008/10/23/swapping-content-in-the-code-behind-in-silverlight/comment-page-1/#comment-1051</link>
		<dc:creator>2008 October 24 - Links for today &#171; My (almost) Daily Links</dc:creator>
		<pubDate>Mon, 27 Oct 2008 07:09:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.designerwpf.com/2008/10/23/swapping-content-in-the-code-behind-in-silverlight/#comment-1051</guid>
		<description>[...] Matthias Shapiro on Swapping Content In the Code Behind in Silverlight [...]</description>
		<content:encoded><![CDATA[<p>[...] Matthias Shapiro on Swapping Content In the Code Behind in Silverlight [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikhil Kothari</title>
		<link>http://www.designerwpf.com/2008/10/23/swapping-content-in-the-code-behind-in-silverlight/comment-page-1/#comment-1049</link>
		<dc:creator>Nikhil Kothari</dc:creator>
		<pubDate>Fri, 24 Oct 2008 19:59:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.designerwpf.com/2008/10/23/swapping-content-in-the-code-behind-in-silverlight/#comment-1049</guid>
		<description>I have a solution to this in Silverlight.FX (see http://www.nikhilk.net/Silverlight-Controls-With-Effects-And-Transitions.aspx)

The framework contains a ContentView control - just place it in the page and set its Content programmatically. It works like a regular ContentControl, and you can add a transition to play whenever new content is set.</description>
		<content:encoded><![CDATA[<p>I have a solution to this in Silverlight.FX (see <a href="http://www.nikhilk.net/Silverlight-Controls-With-Effects-And-Transitions.aspx)" rel="nofollow">http://www.nikhilk.net/Silverlight-Controls-With-Effects-And-Transitions.aspx)</a></p>
<p>The framework contains a ContentView control &#8211; just place it in the page and set its Content programmatically. It works like a regular ContentControl, and you can add a transition to play whenever new content is set.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
