<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>WPF Recursion Controls</title><link>http://code.msdn.microsoft.com/WPFRecursionControls/Project/ProjectRss.aspx</link><description>WPF Recursion Controls is a sample to the power of WPF.   Please take look at this code and try to build your image. &amp;#40; See samples on the home page&amp;#41;   I would like to get comments.</description><item><title>UPDATED RELEASE: WPF Recursion Controls 1.0 (May 15, 2008)</title><link>http://code.msdn.microsoft.com/WPFRecursionControls/Release/ProjectReleases.aspx?ReleaseId=1014</link><description>&amp;#42;WPF Recursion Controls&amp;#42; is a sample to the power of WPF.&lt;br /&gt;Please take look at this code and try to build your image. &amp;#40; See samples on the home page&amp;#41;&lt;br /&gt;I would like to get comments.</description><author></author><pubDate>Fri, 16 May 2008 04:56:05 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: WPF Recursion Controls 1.0 (May 15, 2008) 20080516A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/WPFRecursionControls/Wiki/View.aspx?title=Home&amp;version=4</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
WPF Recursion Controls
&lt;/h2&gt;WPF Recursion Controls presents a simple language for drawing pictures that illustrates &lt;br /&gt;the power of data abstraction and closure, and also exploits higher-order procedures &lt;br /&gt;in an essential way. The language is designed to make it easy to experiment with &lt;br /&gt;patterns such as the ones in figure , which are composed of repeated elements that &lt;br /&gt;are shifted and scaled. In this language, the data objects being combined are represented&lt;br /&gt;as procedures rather than as list structure.&lt;br /&gt; &lt;br /&gt;The source: http://mitpress.mit.edu/sicp/full-text/sicp/book/node36.html &lt;br /&gt; &lt;br /&gt;&lt;b&gt;Resource Page Description&lt;/b&gt;&lt;br /&gt;WPF Recursion Controls is a sample to the power of WPF.&lt;br /&gt;Please take look at this code and try to build your image. &amp;#40; See samples on the home page&amp;#41;&lt;br /&gt;I would like to get comments.
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Beside Sample:
&lt;/h2&gt;The XAML code:&lt;br /&gt;&lt;pre&gt;
&amp;lt;E4D:Beside Width=&amp;quot;512&amp;quot; Height=&amp;quot;256&amp;quot; Content=&amp;quot;Beside&amp;quot;&amp;gt;
                 &amp;lt;!-- Can be any UIElement--&amp;gt;
    		&amp;lt;Image Source=&amp;quot;..\Images\E4D.png&amp;quot; Stretch=&amp;quot;Fill&amp;quot;/&amp;gt; 
&amp;lt;/E4D:Beside&amp;gt;
 
&lt;/pre&gt; &lt;br /&gt;The Function code:&lt;br /&gt;&lt;pre&gt;
public static UIElement Below( this UIElement source )
{
            UIElement cloned = source.Clone();
            return Below( source, cloned );
}
public static UIElement Below( this UIElement source, UIElement element )
{
            Grid g = new Grid();
            RowDefinition r1 = new RowDefinition ();
            r1.Height = new GridLength ( 0.5 , GridUnitType.Star );
            RowDefinition r2 = new RowDefinition();
            r2.Height = new GridLength ( 0.5 , GridUnitType.Star );
            g.RowDefinitions.Add( r1 );
            g.RowDefinitions.Add( r2 );
            g.ShowGridLines = ShowGridLines;
            g.Children.Add( source );
            g.Children.Add( element );
            Grid.SetRow( source, 0 );
            Grid.SetRow( element, 1 );
 
            return g;
}
&lt;/pre&gt; &lt;br /&gt;&lt;h2&gt;
The Result in Blend
&lt;/h2&gt;&lt;img src="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=WPFRecursionControls&amp;amp;DownloadId=1965" alt="Belnd_Beside.png" /&gt;&lt;br /&gt; &lt;br /&gt;&lt;img src="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=WPFRecursionControls&amp;amp;DownloadId=1966" alt="Belnd_Spine_Beside.png" /&gt;&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
More Sample:
&lt;/h2&gt; &lt;br /&gt;&lt;img src="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=WPFRecursionControls&amp;amp;DownloadId=1967" alt="image.png.png" /&gt;&lt;br /&gt; &lt;br /&gt;&lt;img src="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=WPFRecursionControls&amp;amp;DownloadId=1968" alt="image_1.png.png" /&gt;&lt;br /&gt; &lt;br /&gt;&lt;img src="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=WPFRecursionControls&amp;amp;DownloadId=1969" alt="p1_3.png.png" /&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>Vardi</author><pubDate>Wed, 14 May 2008 21:15:39 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080514P</guid></item><item><title>RELEASED: WPF Recursion Controls 1.0 (May 15, 2008)</title><link>http://code.msdn.microsoft.com/WPFRecursionControls/Release/ProjectReleases.aspx?ReleaseId=1014</link><description>&amp;#42;WPF Recursion Controls&amp;#42; is a sample to the power of WPF.&lt;br /&gt;Please take look at this code and try to build your image. &amp;#40; See samples on the home page&amp;#41;&lt;br /&gt;I would like to get comments.</description><author></author><pubDate>Wed, 14 May 2008 21:08:02 GMT</pubDate><guid isPermaLink="false">RELEASED: WPF Recursion Controls 1.0 (May 15, 2008) 20080514P</guid></item><item><title>UPDATED RELEASE: WPF Recursion Controls 1.0 (May 15, 2008)</title><link>http://code.msdn.microsoft.com/WPFRecursionControls/Release/ProjectReleases.aspx?ReleaseId=1014</link><description>&amp;#42;WPF Recursion Controls&amp;#42; is a sample to the power of WPF.&lt;br /&gt;Please take look at this code and try to build your image. &amp;#40; See samples on the home page&amp;#41;&lt;br /&gt;I would like to get comments.</description><author></author><pubDate>Wed, 14 May 2008 21:08:02 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: WPF Recursion Controls 1.0 (May 15, 2008) 20080514P</guid></item><item><title>CREATED RELEASE: WPF Recursion Controls 1.0 (May 15, 2008)</title><link>http://code.msdn.microsoft.com/WPFRecursionControls/Release/ProjectReleases.aspx?ReleaseId=1014</link><description>&amp;#42;WPF Recursion Controls&amp;#42; is a sample to the power of WPF.&lt;br /&gt;Please take look at this code and try to build your image. &amp;#40; See samples on the home page&amp;#41;&lt;br /&gt;I would like to get comments.</description><author></author><pubDate>Wed, 14 May 2008 21:02:04 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: WPF Recursion Controls 1.0 (May 15, 2008) 20080514P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/WPFRecursionControls/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
WPF Recursion Controls
&lt;/h2&gt;WPF Recursion Controls presents a simple language for drawing pictures that illustrates &lt;br /&gt;the power of data abstraction and closure, and also exploits higher-order procedures &lt;br /&gt;in an essential way. The language is designed to make it easy to experiment with &lt;br /&gt;patterns such as the ones in figure , which are composed of repeated elements that &lt;br /&gt;are shifted and scaled. In this language, the data objects being combined are represented&lt;br /&gt;as procedures rather than as list structure.&lt;br /&gt; &lt;br /&gt;The source: http://mitpress.mit.edu/sicp/full-text/sicp/book/node36.html &lt;br /&gt; &lt;br /&gt;&lt;b&gt;Resource Page Description&lt;/b&gt;&lt;br /&gt;WPF Recursion Controls is a sample to the power of WPF.&lt;br /&gt;Please take look at this code and try to build your image. &amp;#40; See samples on the home page&amp;#41;&lt;br /&gt;I would like to get comments.
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Beside Sample:
&lt;/h2&gt;The XAML code:&lt;br /&gt;&lt;pre&gt;
&amp;lt;E4D:Beside Width=&amp;quot;512&amp;quot; Height=&amp;quot;256&amp;quot; Content=&amp;quot;Beside&amp;quot;&amp;gt;
                 &amp;lt;!-- Can be any UIElement--&amp;gt;
    		&amp;lt;Image Source=&amp;quot;..\Images\E4D.png&amp;quot; Stretch=&amp;quot;Fill&amp;quot;/&amp;gt; 
&amp;lt;/E4D:Beside&amp;gt;
 
&lt;/pre&gt; &lt;br /&gt;The Function code:&lt;br /&gt;&lt;pre&gt;
public static UIElement Below( this UIElement source )
{
            UIElement cloned = source.Clone();
            return Below( source, cloned );
}
public static UIElement Below( this UIElement source, UIElement element )
{
            Grid g = new Grid();
            RowDefinition r1 = new RowDefinition ();
            r1.Height = new GridLength ( 0.5 , GridUnitType.Star );
            RowDefinition r2 = new RowDefinition();
            r2.Height = new GridLength ( 0.5 , GridUnitType.Star );
            g.RowDefinitions.Add( r1 );
            g.RowDefinitions.Add( r2 );
            g.ShowGridLines = ShowGridLines;
            g.Children.Add( source );
            g.Children.Add( element );
            Grid.SetRow( source, 0 );
            Grid.SetRow( element, 1 );
 
            return g;
}
&lt;/pre&gt; &lt;br /&gt;&lt;h2&gt;
The Result in Blend
&lt;/h2&gt;&lt;img src="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=WPFRecursionControls&amp;amp;DownloadId=1965" alt="Belnd_Beside.png" /&gt;&lt;br /&gt; &lt;br /&gt;&lt;img src="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=WPFRecursionControls&amp;amp;DownloadId=1966" alt="Belnd_Spine_Beside.png" /&gt;&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
More Sample:
&lt;/h2&gt; &lt;br /&gt;&lt;img src="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=WPFRecursionControls&amp;amp;DownloadId=1967" alt="image.png.png" /&gt;&lt;br /&gt; &lt;br /&gt;&lt;img src="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=WPFRecursionControls&amp;amp;DownloadId=1968" alt="image_1.png.png" /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span class="unresolved"&gt;Cannot resolve link: &lt;/span&gt;[image:image_thumb_14.png]&lt;br /&gt; &lt;br /&gt;&lt;img src="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=WPFRecursionControls&amp;amp;DownloadId=1969" alt="p1_3.png.png" /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span class="unresolved"&gt;Cannot resolve link: &lt;/span&gt;[image:p2.png.png]&lt;br /&gt;
&lt;/div&gt;</description><author>Vardi</author><pubDate>Wed, 14 May 2008 20:59:45 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080514P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/WPFRecursionControls/Wiki/View.aspx?title=Home&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;h2&gt;
WPF Recursion Controls
&lt;/h2&gt;WPF Recursion Controls presents a simple language for drawing pictures that illustrates &lt;br /&gt;the power of data abstraction and closure, and also exploits higher-order procedures &lt;br /&gt;in an essential way. The language is designed to make it easy to experiment with &lt;br /&gt;patterns such as the ones in figure , which are composed of repeated elements that &lt;br /&gt;are shifted and scaled. In this language, the data objects being combined are represented&lt;br /&gt;as procedures rather than as list structure.&lt;br /&gt; &lt;br /&gt;The source: http://mitpress.mit.edu/sicp/full-text/sicp/book/node36.html &lt;br /&gt; &lt;br /&gt;&lt;b&gt;Resource Page Description&lt;/b&gt;&lt;br /&gt;WPF Recursion Controls is a sample to the power of WPF.&lt;br /&gt;Please take look at this code and try to build your image. &amp;#40; See samples on the home page&amp;#41;&lt;br /&gt;I would like to get comments.
&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
Beside Sample:
&lt;/h2&gt;The XAML code:&lt;br /&gt;&lt;pre&gt;
&amp;lt;E4D:Beside Width=&amp;quot;512&amp;quot; Height=&amp;quot;256&amp;quot; Content=&amp;quot;Beside&amp;quot;&amp;gt;
                 &amp;lt;!-- Can be any UIElement--&amp;gt;
    		&amp;lt;Image Source=&amp;quot;..\Images\E4D.png&amp;quot; Stretch=&amp;quot;Fill&amp;quot;/&amp;gt; 
&amp;lt;/E4D:Beside&amp;gt;
 
&lt;/pre&gt; &lt;br /&gt;The Function code:&lt;br /&gt;&lt;pre&gt;
public static UIElement Below( this UIElement source )
{
            UIElement cloned = source.Clone();
            return Below( source, cloned );
}
public static UIElement Below( this UIElement source, UIElement element )
{
            Grid g = new Grid();
            RowDefinition r1 = new RowDefinition ();
            r1.Height = new GridLength ( 0.5 , GridUnitType.Star );
            RowDefinition r2 = new RowDefinition();
            r2.Height = new GridLength ( 0.5 , GridUnitType.Star );
            g.RowDefinitions.Add( r1 );
            g.RowDefinitions.Add( r2 );
            g.ShowGridLines = ShowGridLines;
            g.Children.Add( source );
            g.Children.Add( element );
            Grid.SetRow( source, 0 );
            Grid.SetRow( element, 1 );
 
            return g;
}
&lt;/pre&gt; &lt;br /&gt;&lt;h2&gt;
The Result in Blend
&lt;/h2&gt;&lt;span class="unresolved"&gt;Cannot resolve link: &lt;/span&gt;[image:Belnd_Beside.png]&lt;br /&gt; &lt;br /&gt;&lt;span class="unresolved"&gt;Cannot resolve link: &lt;/span&gt;[image:Belnd_Spine_Beside.png]&lt;br /&gt; &lt;br /&gt;&lt;h2&gt;
More Sample:
&lt;/h2&gt; &lt;br /&gt;&lt;span class="unresolved"&gt;Cannot resolve link: &lt;/span&gt;[image:image.png.png]&lt;br /&gt; &lt;br /&gt;&lt;span class="unresolved"&gt;Cannot resolve link: &lt;/span&gt;[image:image_1.png.png]&lt;br /&gt; &lt;br /&gt;&lt;span class="unresolved"&gt;Cannot resolve link: &lt;/span&gt;[image:image_thumb_14.png]&lt;br /&gt; &lt;br /&gt;&lt;span class="unresolved"&gt;Cannot resolve link: &lt;/span&gt;[image:p1_3.png.png]&lt;br /&gt; &lt;br /&gt;&lt;span class="unresolved"&gt;Cannot resolve link: &lt;/span&gt;[image:p2.png.png]&lt;br /&gt;
&lt;/div&gt;</description><author>Vardi</author><pubDate>Wed, 14 May 2008 20:49:34 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080514P</guid></item></channel></rss>