<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Code Relief .NET</title>
	<atom:link href="http://coderelief.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://coderelief.net</link>
	<description>.NET Code Reilef with Tim Valentine</description>
	<lastBuildDate>Fri, 20 Jan 2012 19:23:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='coderelief.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Code Relief .NET</title>
		<link>http://coderelief.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://coderelief.net/osd.xml" title="Code Relief .NET" />
	<atom:link rel='hub' href='http://coderelief.net/?pushpress=hub'/>
		<item>
		<title>Fixing IsSynchronizedWithCurrentItem and ICollectionView Cancel Bug with an Attached Property</title>
		<link>http://coderelief.net/2011/11/07/fixing-issynchronizedwithcurrentitem-and-icollectionview-cancel-bug-with-an-attached-property/</link>
		<comments>http://coderelief.net/2011/11/07/fixing-issynchronizedwithcurrentitem-and-icollectionview-cancel-bug-with-an-attached-property/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 20:36:37 +0000</pubDate>
		<dc:creator>Tim Valentine</dc:creator>
				<category><![CDATA[Control Customization]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Attached Properties]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://coderelief.net/?p=381</guid>
		<description><![CDATA[Problem As some of you may have noticed while working with a Selector-derived control and an ICollectionView, there is a bug with the IsSynchronizedWithCurrentItem property of Selector.  IsSynchronizedWithCurrentItem is provided by Selector to support the ability to keep its SelectedItem in-sync with the CurrentItem of its ItemSource&#8217;s ICollectionView. IsSynchronizedWithCurrentItem works perfectly except for one specific [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderelief.net&amp;blog=7203202&amp;post=381&amp;subd=thrash505&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://coderelief.net/2011/11/07/fixing-issynchronizedwithcurrentitem-and-icollectionview-cancel-bug-with-an-attached-property/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Thrash505</media:title>
		</media:content>
	</item>
		<item>
		<title>VSTO COM Exception 0x800A01A8</title>
		<link>http://coderelief.net/2011/08/20/vsto-com-exception-0x800a01a8/</link>
		<comments>http://coderelief.net/2011/08/20/vsto-com-exception-0x800a01a8/#comments</comments>
		<pubDate>Sat, 20 Aug 2011 19:08:41 +0000</pubDate>
		<dc:creator>Tim Valentine</dc:creator>
				<category><![CDATA[VSTO]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[COM]]></category>
		<category><![CDATA[Exception]]></category>

		<guid isPermaLink="false">http://coderelief.net/?p=371</guid>
		<description><![CDATA[Problem COM exceptions that give you just a HRESULT to describe an exception are terrible. During some VSTO development for Outlook 2007, I kept getting a COM exception with an HRESULT of 0x800A01A8, and eventually I found  the reason why I was receiving the exception. I though I&#8217;d share since little information is available on this particular exception. Solution [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderelief.net&amp;blog=7203202&amp;post=371&amp;subd=thrash505&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://coderelief.net/2011/08/20/vsto-com-exception-0x800a01a8/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Thrash505</media:title>
		</media:content>
	</item>
		<item>
		<title>ContextMenuServiceExtensions.DataContext Attached Property</title>
		<link>http://coderelief.net/2011/04/20/contextmenuserviceextensions-datacontext-attached-property/</link>
		<comments>http://coderelief.net/2011/04/20/contextmenuserviceextensions-datacontext-attached-property/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 00:34:56 +0000</pubDate>
		<dc:creator>Tim Valentine</dc:creator>
				<category><![CDATA[Control Customization]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Attached Properties]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[ContextMenu]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Style]]></category>
		<category><![CDATA[Styles]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://thrash505.wordpress.com/?p=309</guid>
		<description><![CDATA[Problem Often times WPF  developers want to throw their computer out the window because of a small and very irritating truth about the ContextMenu control. I&#8217;m talking about the fact that ContextMenu is not in the same visual tree as its containing parent, resulting in many data binding issues. Since the ContextMenu is not in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderelief.net&amp;blog=7203202&amp;post=309&amp;subd=thrash505&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://coderelief.net/2011/04/20/contextmenuserviceextensions-datacontext-attached-property/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Thrash505</media:title>
		</media:content>
	</item>
		<item>
		<title>Show/Hide DataGridColumns using a ContextMenu on Microsoft&#8217;s WPF DataGrid with Attached Properties</title>
		<link>http://coderelief.net/2011/01/11/showhide-datagridcolumns-using-a-contextmenu-on-microsofts-wpf-datagrid-with-attached-properties/</link>
		<comments>http://coderelief.net/2011/01/11/showhide-datagridcolumns-using-a-contextmenu-on-microsofts-wpf-datagrid-with-attached-properties/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 22:13:25 +0000</pubDate>
		<dc:creator>Tim Valentine</dc:creator>
				<category><![CDATA[Control Customization]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Attached Properties]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[ContextMenu]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[DataGrid]]></category>
		<category><![CDATA[DataGridColumn]]></category>
		<category><![CDATA[DataGridColumnHeader]]></category>
		<category><![CDATA[Hide]]></category>
		<category><![CDATA[MenuItem]]></category>
		<category><![CDATA[Show]]></category>
		<category><![CDATA[Style]]></category>
		<category><![CDATA[Styles]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://thrash505.wordpress.com/?p=254</guid>
		<description><![CDATA[Introduction When dealing with software applications it is commonplace for users to have certain expectations. These expectations not only include the abilities of an application, but also include how such abilities are executed. The specific expectations that this article is focused upon directly concern those of the data grid control, and more specifically Microsoft&#8217;s implementation [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderelief.net&amp;blog=7203202&amp;post=254&amp;subd=thrash505&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://coderelief.net/2011/01/11/showhide-datagridcolumns-using-a-contextmenu-on-microsofts-wpf-datagrid-with-attached-properties/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Thrash505</media:title>
		</media:content>
	</item>
		<item>
		<title>Style Microsoft&#8217;s DataGrid SelectAll Button using Attached Properties</title>
		<link>http://coderelief.net/2011/01/04/style-microsofts-datagrid-selectall-button-using-attached-properties/</link>
		<comments>http://coderelief.net/2011/01/04/style-microsofts-datagrid-selectall-button-using-attached-properties/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 23:04:25 +0000</pubDate>
		<dc:creator>Tim Valentine</dc:creator>
				<category><![CDATA[Control Customization]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Attached Properties]]></category>
		<category><![CDATA[Button]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[DataGrid]]></category>
		<category><![CDATA[SelectAllCommand]]></category>
		<category><![CDATA[Style]]></category>
		<category><![CDATA[Styles]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://thrash505.wordpress.com/?p=207</guid>
		<description><![CDATA[Introduction The SelectAll button on Microsoft&#8217;s DataGrid control can not be styled without some in-depth tricks. This is a direct result of there being no SelectAllButtonTemplate property on the control. To get around this issue we&#8217;ll make our own property using attached properties. This way we can have nice, clean, MVVM-compliant code and XAML-markup, while [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderelief.net&amp;blog=7203202&amp;post=207&amp;subd=thrash505&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://coderelief.net/2011/01/04/style-microsofts-datagrid-selectall-button-using-attached-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Thrash505</media:title>
		</media:content>
	</item>
		<item>
		<title>Non-selectable ListBoxItem (or ListViewItem) using Attached Properties</title>
		<link>http://coderelief.net/2011/01/04/non-selectable-listboxitem-or-listviewitem-using-attached-properties/</link>
		<comments>http://coderelief.net/2011/01/04/non-selectable-listboxitem-or-listviewitem-using-attached-properties/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 22:04:04 +0000</pubDate>
		<dc:creator>Tim Valentine</dc:creator>
				<category><![CDATA[Control Customization]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Attached Properties]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[ListBox]]></category>
		<category><![CDATA[ListBoxItem]]></category>
		<category><![CDATA[ListView]]></category>
		<category><![CDATA[ListViewItem]]></category>
		<category><![CDATA[Styles]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://thrash505.wordpress.com/?p=181</guid>
		<description><![CDATA[Problem Sometimes in WPF you&#8217;ll want to have a list of items contained in a ListBox (or ListView) that you don&#8217;t want to be selectable. You could set those items to be disabled, by assigning IsEnabled to False, but that may interfere with styles among other things. You could also (probably the best idea) use [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderelief.net&amp;blog=7203202&amp;post=181&amp;subd=thrash505&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://coderelief.net/2011/01/04/non-selectable-listboxitem-or-listviewitem-using-attached-properties/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Thrash505</media:title>
		</media:content>
	</item>
		<item>
		<title>WPF Window &#8211; Disable Minimize and Maximize Buttons Through Attached Properties From XAML</title>
		<link>http://coderelief.net/2010/04/19/wpf-window-disable-minimize-and-maximize-buttons-through-attached-properties-from-xaml/</link>
		<comments>http://coderelief.net/2010/04/19/wpf-window-disable-minimize-and-maximize-buttons-through-attached-properties-from-xaml/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 18:45:21 +0000</pubDate>
		<dc:creator>Tim Valentine</dc:creator>
				<category><![CDATA[Control Customization]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Maximize]]></category>
		<category><![CDATA[Minimize]]></category>
		<category><![CDATA[Window]]></category>
		<category><![CDATA[WindowCustomizer]]></category>
		<category><![CDATA[WindowHelper]]></category>

		<guid isPermaLink="false">http://thrash505.wordpress.com/?p=173</guid>
		<description><![CDATA[Overview Yesterday I worked up a static helper class that encapsulates the functionality to disable/enable/toggle the minimize and maximize buttons on a standard WPF window. This morning I updated that code to fix some bugs that I overlooked. Finally just not long ago, I updated the code with a new static class called WindowCustomizer, which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderelief.net&amp;blog=7203202&amp;post=173&amp;subd=thrash505&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://coderelief.net/2010/04/19/wpf-window-disable-minimize-and-maximize-buttons-through-attached-properties-from-xaml/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Thrash505</media:title>
		</media:content>
	</item>
		<item>
		<title>Dynamic Code/Class Generation (Update)</title>
		<link>http://coderelief.net/2010/03/18/dynamic-codeclass-generation-update/</link>
		<comments>http://coderelief.net/2010/03/18/dynamic-codeclass-generation-update/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 07:20:42 +0000</pubDate>
		<dc:creator>Tim Valentine</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Code Generation]]></category>
		<category><![CDATA[Dynamic]]></category>
		<category><![CDATA[Dynamic Classes]]></category>
		<category><![CDATA[Run-time]]></category>
		<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[WinForms]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://thrash505.wordpress.com/?p=144</guid>
		<description><![CDATA[Overview Back not to long ago, I released a post dealing with the dynamic generation of classes at run-time. Since then I have applied the concepts shown in that post in my real-world projects. As expected of any new code, I have found several bugs and inconveniences with the original code from that post. This [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderelief.net&amp;blog=7203202&amp;post=144&amp;subd=thrash505&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://coderelief.net/2010/03/18/dynamic-codeclass-generation-update/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Thrash505</media:title>
		</media:content>
	</item>
		<item>
		<title>C# CodeGenerationHelper &#8211; Dynamic Classes &#8211; Create Class From Hashtable at Run-time</title>
		<link>http://coderelief.net/2010/02/04/c-codegenerationhelper-dynamic-classes-create-class-from-hashtable-at-run-time/</link>
		<comments>http://coderelief.net/2010/02/04/c-codegenerationhelper-dynamic-classes-create-class-from-hashtable-at-run-time/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 20:06:45 +0000</pubDate>
		<dc:creator>Tim Valentine</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Dynamic Classes]]></category>
		<category><![CDATA[Hashtable]]></category>
		<category><![CDATA[Run-time]]></category>
		<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://thrash505.wordpress.com/?p=126</guid>
		<description><![CDATA[UPDATE This post has been depreciated, for an updated version please visit: http://thrash505.wordpress.com/2010/03/18/dynamic-codeclass-generation-update/ Overview Back a few months ago I had a class that needed (or so I thought) to be generated at run-time. The need arose from WPF controls only working with Properties, not fields, and more specifically ones that implemented INotifyPropertyChanged. (or dependency [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderelief.net&amp;blog=7203202&amp;post=126&amp;subd=thrash505&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://coderelief.net/2010/02/04/c-codegenerationhelper-dynamic-classes-create-class-from-hashtable-at-run-time/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Thrash505</media:title>
		</media:content>
	</item>
		<item>
		<title>Auto-Select First Item Using XAML for Selector-Derived Controls (ListBox, ListView, TabControl, etc)</title>
		<link>http://coderelief.net/2009/07/09/wpf-selectorlistboxlistview-auto-select-first-item-using-xaml/</link>
		<comments>http://coderelief.net/2009/07/09/wpf-selectorlistboxlistview-auto-select-first-item-using-xaml/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 17:31:17 +0000</pubDate>
		<dc:creator>Tim Valentine</dc:creator>
				<category><![CDATA[Control Customization]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[ListBox]]></category>
		<category><![CDATA[ListView]]></category>
		<category><![CDATA[Selector]]></category>
		<category><![CDATA[Style]]></category>
		<category><![CDATA[Styles]]></category>

		<guid isPermaLink="false">http://thrash505.wordpress.com/?p=103</guid>
		<description><![CDATA[Problem When your application has a control on it that derives from Selector and has no items on load nothing is selected. During run-time when the user is clicking around and adds items to the Selector-derived control, you would assume that the control would automatically select the first item because that only makes sense. However, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderelief.net&amp;blog=7203202&amp;post=103&amp;subd=thrash505&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://coderelief.net/2009/07/09/wpf-selectorlistboxlistview-auto-select-first-item-using-xaml/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Thrash505</media:title>
		</media:content>
	</item>
	</channel>
</rss>
