<?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>Wed, 16 May 2012 18:18:00 +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>C#: Escape Double-quote within a String</title>
		<link>http://coderelief.net/2012/03/21/c-escape-double-quote-characters-within-a-string/</link>
		<comments>http://coderelief.net/2012/03/21/c-escape-double-quote-characters-within-a-string/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 21:49:17 +0000</pubDate>
		<dc:creator>Tim Valentine</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://coderelief.net/?p=555</guid>
		<description><![CDATA[Problem When you need to add a double-quote character to a string, you will run into a problem. Double-quotes are the delimiters for the beginning and end of a string, so placing a double-quote within a string will confuse the compiler and it will give you an exception. Solution There are two solutions for escaping double-quote (quote-escape-sequence) characters within [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderelief.net&#038;blog=7203202&#038;post=555&#038;subd=thrash505&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://coderelief.net/2012/03/21/c-escape-double-quote-characters-within-a-string/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>C#: Escape Curly Braces within Formatted String</title>
		<link>http://coderelief.net/2012/03/21/c-escape-curly-braces-within-formatted-string/</link>
		<comments>http://coderelief.net/2012/03/21/c-escape-curly-braces-within-formatted-string/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 20:54:58 +0000</pubDate>
		<dc:creator>Tim Valentine</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://coderelief.net/?p=547</guid>
		<description><![CDATA[Problem When passing in a formatted string as an argument to a method such as Console.WriteLine, String.Format, etc., curly braces have a special meaning. They are used as a placeholder for a variable. Therefore when you want to add a curly brace within the formatted string, but you don&#8217;t want it to be interpreted as a placeholder [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderelief.net&#038;blog=7203202&#038;post=547&#038;subd=thrash505&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://coderelief.net/2012/03/21/c-escape-curly-braces-within-formatted-string/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>WPF: IsSynchronizedWithCurrentItem and ICollectionView Cancel Bug</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[Bug Patches]]></category>
		<category><![CDATA[Controls]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Attached Properties]]></category>
		<category><![CDATA[C#]]></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&#038;blog=7203202&#038;post=381&#038;subd=thrash505&#038;ref=&#038;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>4</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&#038;blog=7203202&#038;post=371&#038;subd=thrash505&#038;ref=&#038;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>WPF: DataContext for ContextMenu</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[Bug Patches]]></category>
		<category><![CDATA[Controls]]></category>
		<category><![CDATA[Customization]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Attached Properties]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[ContextMenu]]></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&#038;blog=7203202&#038;post=309&#038;subd=thrash505&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://coderelief.net/2011/04/20/contextmenuserviceextensions-datacontext-attached-property/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Thrash505</media:title>
		</media:content>
	</item>
		<item>
		<title>WPF: DataGrid ContextMenu for Column Visibility</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[Controls]]></category>
		<category><![CDATA[Customization]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Attached Properties]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[ContextMenu]]></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&#038;blog=7203202&#038;post=254&#038;subd=thrash505&#038;ref=&#038;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>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Thrash505</media:title>
		</media:content>
	</item>
		<item>
		<title>WPF: DataGrid Select-all-button Styling</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[Controls]]></category>
		<category><![CDATA[Customization]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Attached Properties]]></category>
		<category><![CDATA[Button]]></category>
		<category><![CDATA[C#]]></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[Problem The SelectAll button on Microsoft&#8217;s DataGrid control cannot be styled without a workaround. 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 still getting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=coderelief.net&#038;blog=7203202&#038;post=207&#038;subd=thrash505&#038;ref=&#038;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>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Thrash505</media:title>
		</media:content>
	</item>
		<item>
		<title>WPF: Non-selectable ListBoxItem and ListViewItem</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[Controls]]></category>
		<category><![CDATA[Customization]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[Attached Properties]]></category>
		<category><![CDATA[C#]]></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 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&#038;blog=7203202&#038;post=181&#038;subd=thrash505&#038;ref=&#038;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[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&#038;blog=7203202&#038;post=173&#038;subd=thrash505&#038;ref=&#038;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&#038;blog=7203202&#038;post=144&#038;subd=thrash505&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://coderelief.net/2010/03/18/dynamic-codeclass-generation-update/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Thrash505</media:title>
		</media:content>
	</item>
	</channel>
</rss>
