<?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: Binding a Silverlight DataGrid to dynamic data via IDictionary</title>
	<atom:link href="http://www.scottlogic.co.uk/blog/colin/2009/04/binding-a-silverlight-datagrid-to-dynamic-data-via-idictionary/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scottlogic.co.uk/blog/colin/2009/04/binding-a-silverlight-datagrid-to-dynamic-data-via-idictionary/</link>
	<description>Colin Eberhardt&#039;s Adventures in WPF</description>
	<lastBuildDate>Tue, 09 Mar 2010 08:51:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Colin Eberhardt</title>
		<link>http://www.scottlogic.co.uk/blog/colin/2009/04/binding-a-silverlight-datagrid-to-dynamic-data-via-idictionary/comment-page-1/#comment-8816</link>
		<dc:creator>Colin Eberhardt</dc:creator>
		<pubDate>Fri, 26 Feb 2010 08:38:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/colin/?p=251#comment-8816</guid>
		<description>@Grayson, Glad you managed to fix the problem - and thanks for posting back with your findings. Have fun!</description>
		<content:encoded><![CDATA[<p>@Grayson, Glad you managed to fix the problem &#8211; and thanks for posting back with your findings. Have fun!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grayson mitchell</title>
		<link>http://www.scottlogic.co.uk/blog/colin/2009/04/binding-a-silverlight-datagrid-to-dynamic-data-via-idictionary/comment-page-1/#comment-8791</link>
		<dc:creator>grayson mitchell</dc:creator>
		<pubDate>Thu, 25 Feb 2010 19:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/colin/?p=251#comment-8791</guid>
		<description>OK the trick is that you can&#039;t bind to &quot;Forename&quot;, as it is the row object you are binding to... so the code should  be like this:
Binding bind = new Binding();
bind.Mode = OneWay;</description>
		<content:encoded><![CDATA[<p>OK the trick is that you can&#8217;t bind to &#8220;Forename&#8221;, as it is the row object you are binding to&#8230; so the code should  be like this:<br />
Binding bind = new Binding();<br />
bind.Mode = OneWay;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grayson Mitchell</title>
		<link>http://www.scottlogic.co.uk/blog/colin/2009/04/binding-a-silverlight-datagrid-to-dynamic-data-via-idictionary/comment-page-1/#comment-8681</link>
		<dc:creator>Grayson Mitchell</dc:creator>
		<pubDate>Mon, 22 Feb 2010 20:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/colin/?p=251#comment-8681</guid>
		<description>OK, The one thing missing from that link is how to attach the converter.  I have put togetther the following code to add column in the code behind, but the converter is still not working... If anyone has any bright ideas what is missing, that would be greatly appresiated.

    // add columns in code-behind
    DataGridTextColumn textColumn = new DataGridTextColumn();
    textColumn.Header = &quot;First Name&quot;;

    Binding bind = new Binding(&quot;Forename&quot;);
    bind.Converter = new RowIndexConverter() ;
    bind.ConverterParameter = &quot;Forename&quot;;

    textColumn.Binding = bind;
    _dataGrid.Columns.Add(textColumn);</description>
		<content:encoded><![CDATA[<p>OK, The one thing missing from that link is how to attach the converter.  I have put togetther the following code to add column in the code behind, but the converter is still not working&#8230; If anyone has any bright ideas what is missing, that would be greatly appresiated.</p>
<p>    // add columns in code-behind<br />
    DataGridTextColumn textColumn = new DataGridTextColumn();<br />
    textColumn.Header = &#8220;First Name&#8221;;</p>
<p>    Binding bind = new Binding(&#8220;Forename&#8221;);<br />
    bind.Converter = new RowIndexConverter() ;<br />
    bind.ConverterParameter = &#8220;Forename&#8221;;</p>
<p>    textColumn.Binding = bind;<br />
    _dataGrid.Columns.Add(textColumn);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grayson mitchell</title>
		<link>http://www.scottlogic.co.uk/blog/colin/2009/04/binding-a-silverlight-datagrid-to-dynamic-data-via-idictionary/comment-page-1/#comment-8680</link>
		<dc:creator>grayson mitchell</dc:creator>
		<pubDate>Mon, 22 Feb 2010 19:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/colin/?p=251#comment-8680</guid>
		<description>Fantastic!  That was the missing piece that was stopping convert my asp mvc application to Silverlight! I Love you man (cry)</description>
		<content:encoded><![CDATA[<p>Fantastic!  That was the missing piece that was stopping convert my asp mvc application to Silverlight! I Love you man (cry)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin Eberhardt</title>
		<link>http://www.scottlogic.co.uk/blog/colin/2009/04/binding-a-silverlight-datagrid-to-dynamic-data-via-idictionary/comment-page-1/#comment-8663</link>
		<dc:creator>Colin Eberhardt</dc:creator>
		<pubDate>Mon, 22 Feb 2010 08:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/colin/?p=251#comment-8663</guid>
		<description>Hi ... why not just create the columns and their bindings in code-behind? See the following:

http://blogs.msdn.com/scmorris/archive/2008/04/14/defining-silverlight-datagrid-columns-at-runtime.aspx

Regards, Colin E.</description>
		<content:encoded><![CDATA[<p>Hi &#8230; why not just create the columns and their bindings in code-behind? See the following:</p>
<p><a href="http://blogs.msdn.com/scmorris/archive/2008/04/14/defining-silverlight-datagrid-columns-at-runtime.aspx" rel="nofollow">http://blogs.msdn.com/scmorris/archive/2008/04/14/defining-silverlight-datagrid-columns-at-runtime.aspx</a></p>
<p>Regards, Colin E.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
