<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>WPF DataGrid Design-time Walkthrough</title><link>http://blogs.msdn.com/vinsibal/archive/2008/11/07/wpf-datagrid-design-time-walkthrough.aspx</link><description>The DataGrid walkthrough on windowsclient.net/wpf and the Tips &amp;amp; Tricks section on codeplex talk briefly about the Design-time support for DataGrid. I thought I’d expand on that just a little more so you get a good idea of what you have available.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>WPF DataGrid Design-time Walkthrough | Tmao Coders</title><link>http://blogs.msdn.com/vinsibal/archive/2008/11/07/wpf-datagrid-design-time-walkthrough.aspx#9052443</link><pubDate>Fri, 07 Nov 2008 19:04:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9052443</guid><dc:creator>WPF DataGrid Design-time Walkthrough | Tmao Coders</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.tmao.info/wpf-datagrid-design-time-walkthrough/"&gt;http://www.tmao.info/wpf-datagrid-design-time-walkthrough/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: WPF DataGrid Design-time Walkthrough</title><link>http://blogs.msdn.com/vinsibal/archive/2008/11/07/wpf-datagrid-design-time-walkthrough.aspx#9053848</link><pubDate>Sat, 08 Nov 2008 10:08:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9053848</guid><dc:creator>shyun</dc:creator><description>&lt;p&gt;where can i download the code you showed us in this article？&lt;/p&gt;
&lt;p&gt;you said “ The code for that is in the sample on this post”，but i cannt find code in the Vsm_and_Datagrid_sample.zip&lt;/p&gt;</description></item><item><title>re: WPF DataGrid Design-time Walkthrough</title><link>http://blogs.msdn.com/vinsibal/archive/2008/11/07/wpf-datagrid-design-time-walkthrough.aspx#9057385</link><pubDate>Mon, 10 Nov 2008 16:50:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9057385</guid><dc:creator>vinsibal</dc:creator><description>&lt;p&gt;shyun,&lt;/p&gt;
&lt;p&gt;What I meant was the code for the DataTable is in the sample on this post. &amp;nbsp;Also, the sample is not the VSM on. &amp;nbsp;It is the sample on this post, &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/vinsibal/archive/2008/10/22/wpf-datagrid-and-the-wpftoolkit-have-released.aspx"&gt;http://blogs.msdn.com/vinsibal/archive/2008/10/22/wpf-datagrid-and-the-wpftoolkit-have-released.aspx&lt;/a&gt;.&lt;/p&gt;
</description></item><item><title>re: WPF DataGrid Design-time Walkthrough</title><link>http://blogs.msdn.com/vinsibal/archive/2008/11/07/wpf-datagrid-design-time-walkthrough.aspx#9060364</link><pubDate>Tue, 11 Nov 2008 18:39:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9060364</guid><dc:creator>Nigel Stratton</dc:creator><description>&lt;p&gt;What are the requirements to map a class as a datasource for design time binding. I have an ORM mapper and when I specify it's class as an ObjectDataProvider I get an &amp;quot;Oject reference not set to an instance of an object&amp;quot;&lt;/p&gt;
&lt;p&gt;I saw your code inherited ObservableCollection and the GetEmployees method returns a DataView. Are these requirements for design time binding?&lt;/p&gt;</description></item><item><title>re: WPF DataGrid Design-time Walkthrough</title><link>http://blogs.msdn.com/vinsibal/archive/2008/11/07/wpf-datagrid-design-time-walkthrough.aspx#9062753</link><pubDate>Wed, 12 Nov 2008 17:34:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9062753</guid><dc:creator>vinsibal</dc:creator><description>&lt;p&gt;Nigel Stratton,&lt;/p&gt;
&lt;p&gt;Inheriting from ObservableCollection and the DataView thing isn't a requirement. &lt;/p&gt;
&lt;p&gt;Generally, the main issue is that you cannot bind to properties that are declared on the thing you are designing. &amp;nbsp;So if you were to set a DataContext in code behind, it would not work. &amp;nbsp;This is because the way the designer works is it creates an instance of the base class (Window) and then applies the contents of Window1.xaml to it.&lt;/p&gt;
&lt;p&gt;It seems that you are doing something similar to my example yet you are still seeing the issue. &amp;nbsp;I'd have to see a code snippet to diagnose further. &amp;nbsp;&lt;/p&gt;
</description></item><item><title>re: WPF DataGrid Design-time Walkthrough</title><link>http://blogs.msdn.com/vinsibal/archive/2008/11/07/wpf-datagrid-design-time-walkthrough.aspx#9250011</link><pubDate>Tue, 23 Dec 2008 16:36:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9250011</guid><dc:creator>östen</dc:creator><description>&lt;p&gt;why doesn&amp;#180;t drag n drop work for me? anything i need to do i have missed?&lt;/p&gt;</description></item><item><title>re: WPF DataGrid Design-time Walkthrough</title><link>http://blogs.msdn.com/vinsibal/archive/2008/11/07/wpf-datagrid-design-time-walkthrough.aspx#9250130</link><pubDate>Tue, 23 Dec 2008 17:42:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9250130</guid><dc:creator>vinsibal</dc:creator><description>&lt;p&gt;osten,&lt;/p&gt;
&lt;p&gt;Could you provide more details with your issue? &amp;nbsp;What Visual Studio do you have installed? &amp;nbsp;How does your project point to the toolkit? &amp;nbsp;Do you see the toolbox icons for DataGrid, Calendar, etc?&lt;/p&gt;
</description></item><item><title>re: WPF DataGrid Design-time Walkthrough</title><link>http://blogs.msdn.com/vinsibal/archive/2008/11/07/wpf-datagrid-design-time-walkthrough.aspx#9348494</link><pubDate>Tue, 20 Jan 2009 19:20:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9348494</guid><dc:creator>D</dc:creator><description>&lt;p&gt;How do you remove the header row from a this WPF DataGrid? I don't want the header to show at all for the entire DataGrid.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;</description></item><item><title>re: WPF DataGrid Design-time Walkthrough</title><link>http://blogs.msdn.com/vinsibal/archive/2008/11/07/wpf-datagrid-design-time-walkthrough.aspx#9356029</link><pubDate>Wed, 21 Jan 2009 11:42:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9356029</guid><dc:creator>Dom</dc:creator><description>&lt;p&gt;How can you disable or turn off the header on a WPF datagrid?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>re: WPF DataGrid Design-time Walkthrough</title><link>http://blogs.msdn.com/vinsibal/archive/2008/11/07/wpf-datagrid-design-time-walkthrough.aspx#9356388</link><pubDate>Wed, 21 Jan 2009 15:54:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9356388</guid><dc:creator>vinsibal</dc:creator><description>&lt;p&gt;Dom,&lt;/p&gt;
&lt;p&gt;You can disable them by setting HeadersVisibility to None.&lt;/p&gt;
</description></item><item><title>re: WPF DataGrid Design-time Walkthrough</title><link>http://blogs.msdn.com/vinsibal/archive/2008/11/07/wpf-datagrid-design-time-walkthrough.aspx#9395419</link><pubDate>Wed, 04 Feb 2009 14:30:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9395419</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;What is the most eloquent method to swap design-time and run-time data with the ObjectDataSource.&lt;/p&gt;
&lt;p&gt;ie. &amp;nbsp;Using Linq, I have a method Customers.GetCustomers(datacontext db). &amp;nbsp;&lt;/p&gt;
&lt;p&gt;The plan is that my ODS will call the method, passing null in as datacontext, and the EF will use my conection from Settings. &amp;nbsp;At Runtime, my app will pass the datacontext around, and must pass in a NON null value for db.&lt;/p&gt;
&lt;p&gt;How do I get the best of both worlds?&lt;/p&gt;</description></item><item><title>re: WPF DataGrid Design-time Walkthrough</title><link>http://blogs.msdn.com/vinsibal/archive/2008/11/07/wpf-datagrid-design-time-walkthrough.aspx#9424407</link><pubDate>Sun, 15 Feb 2009 18:08:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9424407</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;When I right click on the datagrid, &amp;quot;datagrid&amp;quot; is not an option on the context menu? &amp;nbsp;Am I doing something wrong?&lt;/p&gt;</description></item><item><title>re: WPF DataGrid Design-time Walkthrough</title><link>http://blogs.msdn.com/vinsibal/archive/2008/11/07/wpf-datagrid-design-time-walkthrough.aspx#9424481</link><pubDate>Sun, 15 Feb 2009 19:08:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9424481</guid><dc:creator>vinsibal</dc:creator><description>&lt;p&gt;Mark,&lt;/p&gt;
&lt;p&gt;It looks like the VS design time cannot find the datagrid specific dlls. &amp;nbsp;How are you referencing the toolkit? And does the location where you're referencing the toolkit contain the two Microsoft.*.design.dlls?&lt;/p&gt;
</description></item><item><title>.NET 3.5 SP1 and WPF DataGrid CTP are out now!</title><link>http://blogs.msdn.com/vinsibal/archive/2008/11/07/wpf-datagrid-design-time-walkthrough.aspx#9543279</link><pubDate>Fri, 10 Apr 2009 17:13:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9543279</guid><dc:creator>Vincent Sibal's Blog</dc:creator><description>&lt;p&gt;UPDATE: the WPF DataGrid v1 has just released. For more information, see this post . The information&lt;/p&gt;
</description></item></channel></rss>