<?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/"
	>

<channel>
	<title>Ignore the man behind the curtain &#187; WPF</title>
	<atom:link href="http://brianseekford.com/index.php/category/net-development/wpf-net-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://brianseekford.com</link>
	<description>Software engineering in a .NET world</description>
	<lastBuildDate>Fri, 02 Dec 2011 19:16:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How do I cancel a databinding property set in WPF?</title>
		<link>http://brianseekford.com/index.php/2011/11/30/how-do-i-cancel-a-databinding-property-set-in-wpf/</link>
		<comments>http://brianseekford.com/index.php/2011/11/30/how-do-i-cancel-a-databinding-property-set-in-wpf/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 14:39:38 +0000</pubDate>
		<dc:creator>Brian Seekford</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[cancel]]></category>
		<category><![CDATA[ComboBox]]></category>
		<category><![CDATA[DataBinding]]></category>
		<category><![CDATA[property]]></category>
		<category><![CDATA[PropertyChanged]]></category>
		<category><![CDATA[Set]]></category>
		<category><![CDATA[ViewModel]]></category>
		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://brianseekford.com/index.php/2011/11/30/how-do-i-cancel-a-databinding-property-set-in-wpf/</guid>
		<description><![CDATA[I have a combobox in WPF that I am using the SelectedItem property with a DataBinding and sometimes certain items shouldn’t be selected based on certain criteria. Mine was that two comboboxes couldn’t have the same value. Yes, there are other ways, such as removing invalid values from other boxes, but here was my solution [...]]]></description>
			<content:encoded><![CDATA[<p>I have a combobox in WPF that I am using the SelectedItem property with a DataBinding and sometimes certain items shouldn’t be selected based on certain criteria. Mine was that two comboboxes couldn’t have the same value.</p>
<p>Yes, there are other ways, such as removing invalid values from other boxes, but here was my solution for preventing the invalid property set by cancelling the selection/property set.</p>
<p>WPF sucks in this manner as there isn’t an easy way to update it. You can’t raise the property updated event since the binding ignores those when setting, to avoid recursion issue I suppose. (Yes, developers could defend by not raising the events if the property doesn’t change)</p>
<p>Anyway, the solution is simply to raise the property changed after the operation, by simply posting it to the work queue on the UI thread right afterward.</p>
<p>&#160;</p>
<p>Code: in C#</p>
<p>public MyHeaderType SelectedHeader   <br />&#160;&#160;&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; get { return this.selectedHeader; }    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; set    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; bool resetMe= validateValue(value);    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var origVal = selectedHeader;//store for reset</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; selectedHeader = value;   <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; RaisePropertyChanged(() =&gt; SelectedHeader);</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (resetMe)//Why do I need to set the value above? No idea. Doesn&#8217;t work unless I do it that way. Yes. I tried.   <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Application.Current.Dispatcher.BeginInvoke( //force a reenter to put it back&#8230;&#8230;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; new Action(() =&gt;    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; SelectedHeader = origVal;//put me back to the correct value.    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }),    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; DispatcherPriority.ContextIdle,    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; null    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; );&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }    <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }    <br />&#160;&#160;&#160;&#160;&#160; }    </p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p>Happy Coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://brianseekford.com/index.php/2011/11/30/how-do-i-cancel-a-databinding-property-set-in-wpf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set the BackgroundColor on a GridViewColumn in WPF!</title>
		<link>http://brianseekford.com/index.php/2011/10/17/how-to-set-the-backgroundcolor-on-a-gridviewcolumn-in-wpf/</link>
		<comments>http://brianseekford.com/index.php/2011/10/17/how-to-set-the-backgroundcolor-on-a-gridviewcolumn-in-wpf/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 19:50:38 +0000</pubDate>
		<dc:creator>Brian Seekford</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[gridviewcolumn]]></category>
		<category><![CDATA[ListView]]></category>
		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://brianseekford.com/index.php/2011/10/17/how-to-set-the-backgroundcolor-on-a-gridviewcolumn-in-wpf/</guid>
		<description><![CDATA[So, you figured you would set the Grid or Border background color and it would work out? Then you ran your program and only the text was being filled in with your color right? Well, the issue is two fold. First, you need to set the cell contents to stretch. Then you need to get [...]]]></description>
			<content:encoded><![CDATA[<p>So, you figured you would set the Grid or Border background color and it would work out? Then you ran your program and only the text was being filled in with your color right?</p>
<p>Well, the issue is two fold. First, you need to set the cell contents to stretch. Then you need to get past the fact the column pads the cell by 6 pixels left and right.</p>
<p>Handling the padding is here:</p>
<pre>

 &lt;Style TargetType=&quot;Border&quot; x:Key=&quot;columnBorder&quot;&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;Setter Property=&quot;Margin&quot; Value=&quot;-6,-2,-6,-6&quot;/&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;Setter Property=&quot;Padding&quot; Value=&quot;6,2,6,6&quot;/&gt;

&lt;/Style&gt;

&#160;
</pre>
<p>&#160;</p>
<p>Set the <code>Horizontal</code><code>Content</code><code>Alignment on the ListView or GridView.</code></p>
<p><code>Hope this helps.</code></p>
<p><code>I googled around for other entries and found this one with more detail than I wanted to write.</code></p>
<p><a title="http://www.interact-sw.co.uk/iangblog/2007/05/30/wpf-listview-column-margins" href="http://www.interact-sw.co.uk/iangblog/2007/05/30/wpf-listview-column-margins">http://www.interact-sw.co.uk/iangblog/2007/05/30/wpf-listview-column-margins</a></p>
<p><font face="Courier New">Happy coding!</font></p>
]]></content:encoded>
			<wfw:commentRss>http://brianseekford.com/index.php/2011/10/17/how-to-set-the-backgroundcolor-on-a-gridviewcolumn-in-wpf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight and WPF Boolean Not Converter&#8230;To be or NOT to be</title>
		<link>http://brianseekford.com/index.php/2010/12/02/silverlight-and-wpf-boolean-not-converterto-be-or-not-to-be/</link>
		<comments>http://brianseekford.com/index.php/2010/12/02/silverlight-and-wpf-boolean-not-converterto-be-or-not-to-be/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 16:23:20 +0000</pubDate>
		<dc:creator>Brian Seekford</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[binding]]></category>
		<category><![CDATA[boolean]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[xaml]]></category>

		<guid isPermaLink="false">http://brianseekford.com/index.php/2010/12/02/silverlight-and-wpf-boolean-not-converterto-be-or-not-to-be/</guid>
		<description><![CDATA[So you have an IsReadOnly flag on your viewmodel, but you want to set the IsEnabled property on control. A conundrum for a binding, right. Well, simple solution to an annoying problem. Use the converter below on your binding and it becomes opposite day. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p style="line-height: normal; margin-bottom: 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" class="MsoNormal"><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">So you have an IsReadOnly flag on your viewmodel, but you want to set the IsEnabled property on control. A conundrum for a binding, right.</span></font></p>
<p style="line-height: normal; margin-bottom: 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" class="MsoNormal"><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">Well, simple solution to an annoying problem. Use the converter below on your binding and it becomes opposite day.</span></font></p>
<p style="line-height: normal; margin-bottom: 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" class="MsoNormal"><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch"></span></font></p>
<p style="line-height: normal; margin-bottom: 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt" class="MsoNormal"><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">using</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch"> System;        <br /></span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">using</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch"> System.Collections.Generic;        <br /></span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">using</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch"> System.Linq;        <br /></span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">using</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch"> System.Text;        <br /></span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">using</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch"> System.Windows.Data;        <br /><span style="mso-spacerun: yes">&#160;</span>         <br /></span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">namespace</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch"> Seekford{        <br />&#160;&#160;&#160; </span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">public</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">&#160;</span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">class</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">&#160;</span></font><font color="#2b91af" size="2" face="Consolas"><span style="font-family: consolas; color: #2b91af; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">BooleanNotConverter</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch"> : </span></font><font color="#2b91af" size="2" face="Consolas"><span style="font-family: consolas; color: #2b91af; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">IValueConverter</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">        <br />&#160;&#160;&#160; {         <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">//easy peezy.</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: de-ch; mso-fareast-language: de-ch">        <br /><span style="mso-spacerun: yes">&#160;</span>         <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;summary&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> Converts a value.</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;/summary&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;param name=&quot;value&quot;&gt;</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">The value produced by the binding source.</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;/param&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;param name=&quot;targetType&quot;&gt;</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">The type of the binding target property.</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;/param&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;param name=&quot;parameter&quot;&gt;</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">The converter parameter to use.</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;/param&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;param name=&quot;culture&quot;&gt;</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">The culture to use in the converter.</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;/param&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;returns&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> A converted value. If the method returns null, the valid null value is used.</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;/returns&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">public</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">object</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> Convert(</span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">object</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> value, </span></font><font color="#2b91af" size="2" face="Consolas"><span style="font-family: consolas; color: #2b91af; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">Type</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> targetType, </span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">object</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> parameter, System.Globalization.</span></font><font color="#2b91af" size="2" face="Consolas"><span style="font-family: consolas; color: #2b91af; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">CultureInfo</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> culture)        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {         <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">return</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> !(</span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">bool</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">)value;        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }         <br /><span style="mso-spacerun: yes">&#160;</span>         <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;summary&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> Converts a value.</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;/summary&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;param name=&quot;value&quot;&gt;</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">The value that is produced by the binding target.</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;/param&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;param name=&quot;targetType&quot;&gt;</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">The type to convert to.</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;/param&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;param name=&quot;parameter&quot;&gt;</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">The converter parameter to use.</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;/param&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;param name=&quot;culture&quot;&gt;</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">The culture to use in the converter.</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;/param&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;returns&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> A converted value. If the method returns null, the valid null value is used.</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">///</span></font><font color="#008000" size="2" face="Consolas"><span style="font-family: consolas; color: green; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#808080" size="2" face="Consolas"><span style="font-family: consolas; color: gray; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&lt;/returns&gt;</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">public</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">&#160;</span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">object</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> ConvertBack(</span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">object</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> value, </span></font><font color="#2b91af" size="2" face="Consolas"><span style="font-family: consolas; color: #2b91af; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">Type</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> targetType, </span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">object</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> parameter, System.Globalization.</span></font><font color="#2b91af" size="2" face="Consolas"><span style="font-family: consolas; color: #2b91af; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">CultureInfo</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> culture)        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {         <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">return</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US"> !(</span></font><font color="#0000ff" size="2" face="Consolas"><span style="font-family: consolas; color: blue; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">bool</span></font><font color="#000000" size="2" face="Consolas"><span style="font-family: consolas; color: windowtext; font-size: 10pt; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-bidi-font-family: &#39;Courier New&#39;; mso-ansi-language: en-us; mso-fareast-language: de-ch" lang="EN-US">)value;        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }         <br /><span style="mso-spacerun: yes">&#160;</span>         <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160; }         <br />} </span>
</p>
<p>   </font></p>
</p>
<p class="MsoBodyText"><font size="2" face="Arial"><span style="font-size: 10.5pt" lang="EN-GB"></span>
<p>&#160;</p>
<p>   </font></p>
</p>
<p>Happy Coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://brianseekford.com/index.php/2010/12/02/silverlight-and-wpf-boolean-not-converterto-be-or-not-to-be/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPF LinkButton &#8211; Easy as pie</title>
		<link>http://brianseekford.com/index.php/2010/10/19/wpf-linkbutton-easy-as-pie/</link>
		<comments>http://brianseekford.com/index.php/2010/10/19/wpf-linkbutton-easy-as-pie/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 19:14:48 +0000</pubDate>
		<dc:creator>Brian Seekford</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[linkbutton]]></category>
		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://brianseekford.com/index.php/2010/10/19/wpf-linkbutton-easy-as-pie/</guid>
		<description><![CDATA[Where in the world is the LinkButton? I am sure its there somewhere but I just didn’t find it. So, what’s a guy to do? Get some style, that’s what. WPF makes restyling controls incredibly easy. So much, I switched gears from a WinForms project to use WPF to make the interface look great without [...]]]></description>
			<content:encoded><![CDATA[<p>Where in the world is the LinkButton? I am sure its there somewhere but I just didn’t find it. So, what’s a guy to do? Get some style, that’s what.</p>
<p>WPF makes restyling controls incredibly easy. So much, I switched gears from a WinForms project to use WPF to make the interface look great without resorting to a million third party controls.</p>
<p>I assume you are familiar with WPF and know how to apply a style to a control. Well, apply this to a Button. Just paste the code below in your UserControl.Resources or Window.Resources section and then apply the Style={StaticResource LinkButton} to the button.</p>
<p>Note: I hate underlined links. You can add the underline by changing the TextFormatter on the TextBlock wrapping the content presenter.</p>
<p>&#160;</p>
<p> <span style="color: #a31515">&#160; </span><span style="color: blue">&lt;</span><span style="color: #a31515">Style</span><span style="color: red"> x</span><span style="color: blue">:</span><span style="color: red">Key</span><span style="color: blue">=</span><span style="color: blue">&quot;LinkButton&quot;</span><span style="color: red"> TargetType</span><span style="color: blue">=</span><span style="color: blue">&quot;Button&quot;</span><span style="color: blue">&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;</span><span style="color: #a31515">Setter</span><span style="color: red"> Property</span><span style="color: blue">=</span><span style="color: blue">&quot;Template&quot;</span><span style="color: blue">&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;</span><span style="color: #a31515">Setter.Value</span><span style="color: blue">&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;</span><span style="color: #a31515">ControlTemplate</span><span style="color: red"> TargetType</span><span style="color: blue">=</span><span style="color: blue">&quot;Button&quot;</span><span style="color: blue">&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;</span><span style="color: #a31515">TextBlock</span><span style="color: blue">&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;</span><span style="color: #a31515">ContentPresenter</span><span style="color: blue"> /&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;/</span><span style="color: #a31515">TextBlock</span><span style="color: blue">&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;/</span><span style="color: #a31515">ControlTemplate</span><span style="color: blue">&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;/</span><span style="color: #a31515">Setter.Value</span><span style="color: blue">&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;/</span><span style="color: #a31515">Setter</span><span style="color: blue">&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;</span><span style="color: #a31515">Setter</span><span style="color: red"> Property</span><span style="color: blue">=</span><span style="color: blue">&quot;Foreground&quot;</span><span style="color: red"> Value</span><span style="color: blue">=</span><span style="color: blue">&quot;Blue&quot;</span><span style="color: blue"> /&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;</span><span style="color: #a31515">Setter</span><span style="color: red"> Property</span><span style="color: blue">=</span><span style="color: blue">&quot;Cursor&quot;</span><span style="color: red"> Value</span><span style="color: blue">=</span><span style="color: blue">&quot;Hand&quot;</span><span style="color: blue"> /&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;</span><span style="color: #a31515">Style.Triggers</span><span style="color: blue">&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;</span><span style="color: #a31515">Trigger</span><span style="color: red"> Property</span><span style="color: blue">=</span><span style="color: blue">&quot;IsMouseOver&quot;</span><span style="color: red"> Value</span><span style="color: blue">=</span><span style="color: blue">&quot;true&quot;</span><span style="color: blue">&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;</span><span style="color: #a31515">Setter</span><span style="color: red"> Property</span><span style="color: blue">=</span><span style="color: blue">&quot;Foreground&quot;</span><span style="color: red"> Value</span><span style="color: blue">=</span><span style="color: blue">&quot;Red&quot;</span><span style="color: blue"> /&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;/</span><span style="color: #a31515">Trigger</span><span style="color: blue">&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;/</span><span style="color: #a31515">Style.Triggers</span><span style="color: blue">&gt;   <br /></span>  <br /><span style="color: #a31515">&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span><span style="color: blue">&lt;/</span><span style="color: #a31515">Style</span><span style="color: blue">&gt;   <br /></span>
<p>Happy Coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://brianseekford.com/index.php/2010/10/19/wpf-linkbutton-easy-as-pie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bind to an ICommand on ViewModel with objects in an ItemsControl in WPF</title>
		<link>http://brianseekford.com/index.php/2010/10/18/bind-to-an-icommand-on-viewmodel-with-objects-in-an-itemscontrol-in-wpf/</link>
		<comments>http://brianseekford.com/index.php/2010/10/18/bind-to-an-icommand-on-viewmodel-with-objects-in-an-itemscontrol-in-wpf/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 18:22:36 +0000</pubDate>
		<dc:creator>Brian Seekford</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[Ancestor]]></category>
		<category><![CDATA[binding]]></category>
		<category><![CDATA[DataContext]]></category>
		<category><![CDATA[ICommand]]></category>
		<category><![CDATA[ItemsControl]]></category>
		<category><![CDATA[relaycommand]]></category>
		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://brianseekford.com/index.php/2010/10/18/bind-to-an-icommand-on-viewmodel-with-objects-in-an-itemscontrol-in-wpf/</guid>
		<description><![CDATA[I spent a few minutes beating my head on binding a command to a button that I had in an ItemsControl. Mainly, was creating a list of “link” buttons and wanted them to pass their binding argument to my command on the main view model. Well, since the DataContext to the content is not the [...]]]></description>
			<content:encoded><![CDATA[<p>I spent a few minutes beating my head on binding a command to a button that I had in an ItemsControl. Mainly, was creating a list of “link” buttons and wanted them to pass their binding argument to my command on the main view model.</p>
<p>Well, since the DataContext to the content is not the main view model but the individual data item that is in the ItemSource for the ItemsControl, you have to get creative.</p>
<p>Enter the RelativeSource binding. This great tool allows you to search up in the visual hierarchy and grab different data contexts. Simply put, I use the FindAncestor to search for my main UserControl instance, and then go off its DataContext to grab the command. Nice and easy.</p>
<p>Below is the code. Should be easy to follow:</p>
<pre>&lt;Window x:Class="SSI.Views.SelectorView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
              mc:Ignorable="d"
             xmlns:views="clr-namespace:SSI.I8N.LanguagePackEditor.Views"
        Title="SSI"&gt;
                &lt;ItemsControl Margin="0" ItemsSource="{Binding Folders}"&gt;
&lt;ItemsControl.ItemTemplate&gt;
&lt;DataTemplate&gt;
<strong> &lt;Button Content="{Binding}" Command="{Binding DataContext.FolderCommand,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type views:SelectorView}}}" CommandParameter="{Binding}"/&gt;</strong>
                &lt;/DataTemplate&gt;
           &lt;/ItemsControl.ItemTemplate&gt;
&lt;/ItemsControl&gt;&lt;/Window&gt;</pre>
<p>Happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://brianseekford.com/index.php/2010/10/18/bind-to-an-icommand-on-viewmodel-with-objects-in-an-itemscontrol-in-wpf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPF not compiling: program does not contain a static &#8216;Main&#8217; method</title>
		<link>http://brianseekford.com/index.php/2010/10/14/wpf-not-compiling-program-does-not-contain-a-static-main-method/</link>
		<comments>http://brianseekford.com/index.php/2010/10/14/wpf-not-compiling-program-does-not-contain-a-static-main-method/#comments</comments>
		<pubDate>Thu, 14 Oct 2010 18:29:29 +0000</pubDate>
		<dc:creator>Brian Seekford</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[app.xaml]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[Main]]></category>
		<category><![CDATA[method]]></category>
		<category><![CDATA[static]]></category>
		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://brianseekford.com/index.php/2010/10/14/wpf-not-compiling-program-does-not-contain-a-static-main-method/</guid>
		<description><![CDATA[I decided to create a new WPF application. I started the project out intending to use WinForms, but then I hit a limitation(pain) that prompted me to switch to WPF. A list of link buttons, easily accomplished in WPF, but annoying in WinForms. So, I created an App.xaml, deleted my Programs.cs and Main and went [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to create a new WPF application. I started the project out intending to use WinForms, but then I hit a limitation(pain) that prompted me to switch to WPF. A list of link buttons, easily accomplished in WPF, but annoying in WinForms.</p>
<p>So, I created an App.xaml, deleted my Programs.cs and Main and went compile.</p>
<p>Boom! Error, no Main method. hmmmm… I stared at another one of my WPF projects and didn’t see the magic missing setting. Finally, it dawned on. The compile options for the App.xaml.</p>
<p>Set the compile option to Application Definition and away you go. So simple, yet so non-obvious.</p>
<p><a href="http://brianseekford.com/wp-content/uploads/2010/10/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://brianseekford.com/wp-content/uploads/2010/10/image_thumb.png" width="244" height="183" /></a> </p>
<p>Happy Coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://brianseekford.com/index.php/2010/10/14/wpf-not-compiling-program-does-not-contain-a-static-main-method/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Multiselect on GridView in WPF ListView loses selection on mouse click</title>
		<link>http://brianseekford.com/index.php/2010/09/29/multiselect-on-gridview-in-wpf-listview-loses-selection-on-mouse-click/</link>
		<comments>http://brianseekford.com/index.php/2010/09/29/multiselect-on-gridview-in-wpf-listview-loses-selection-on-mouse-click/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 21:40:38 +0000</pubDate>
		<dc:creator>Brian Seekford</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[Drag]]></category>
		<category><![CDATA[Drop]]></category>
		<category><![CDATA[GridView]]></category>
		<category><![CDATA[ListView]]></category>
		<category><![CDATA[MouseClick]]></category>
		<category><![CDATA[Selection]]></category>

		<guid isPermaLink="false">http://brianseekford.com/?p=404</guid>
		<description><![CDATA[We overrode the ListViews View using a GridView so that we could display the data in the format our users required. The issue that we encountered was that after we introduced MultiSelect, our drag and drop didn’t work as expected. You could select multiple rows, but when you then clicked on the selection area to [...]]]></description>
			<content:encoded><![CDATA[<p>We overrode the ListViews View using a GridView so that we could display the data in the format our users required. The issue that we encountered was that after we introduced MultiSelect, our drag and drop didn’t work as expected.</p>
<p>You could select multiple rows, but when you then clicked on the selection area to “drag” them, then it would unselect everything but the one you specifically clicked on.</p>
<p>Not the greatest of behaviors.</p>
<p>So the trick is rather simple, yet strange. Override the ListViewItem class, and use it to override the generated items.</p>
<p>Your new ListView</p>
<pre>using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Controls;
using System.Windows;
using System.Collections.ObjectModel;
using System.Collections;
using System.Collections.Specialized;
using System.Windows.Controls.Primitives; 

namespace Seekford{
    public class MyListView: ListView    {
        protected override DependencyObject GetContainerForItemOverride()
        {            return new MyListItem();
       }
     protected override bool IsItemItsOwnContainerOverride(object item)
      {
           return item is MyListItem;
       } 

     }
}</pre>
<p>Your new ListViewItem</p>
<pre>using System;
using System.Windows.Controls;
using System.Windows.Input;
using System.ComponentModel;

namespace Seekford{
      public class MyListItem : ListViewItem	{

        protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
        {
            if (IsSelected)
                return;
            base.OnMouseLeftButtonDown(e);
       }

        protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
        {
            if(IsSelected)
                base.OnMouseLeftButtonDown(e);
        }
 }
}</pre>
<p>Nice and easy! Kludgy, but seems to work.</p>
<p>Happy Coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://brianseekford.com/index.php/2010/09/29/multiselect-on-gridview-in-wpf-listview-loses-selection-on-mouse-click/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to put bound data (Binding) into a Grid View Header or List View Header.</title>
		<link>http://brianseekford.com/index.php/2010/09/29/how-to-put-bound-data-binding-into-a-grid-view-header-or-list-view-header/</link>
		<comments>http://brianseekford.com/index.php/2010/09/29/how-to-put-bound-data-binding-into-a-grid-view-header-or-list-view-header/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 13:59:00 +0000</pubDate>
		<dc:creator>Brian Seekford</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[GridView]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[ListView]]></category>
		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://brianseekford.com/?p=400</guid>
		<description><![CDATA[This is another seemingly simple task. It actually is, but you may go down the route of setting the GridViewHeader.Template and wondering why it doesn’t work. Well, it’s as simple as putting a GridViewHeader into the GridViewColumn definition and setting content to it. &#60;GridViewColumn  Width="Auto"&#62;     &#60;GridViewColumnHeader&#62;         &#60;Grid HorizontalAlignment="Right" &#62;                 &#60;Grid.RowDefinitions&#62;                     &#60;RowDefinition/&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>This is another seemingly simple task. It actually is, but you may go down the route of setting the GridViewHeader.Template and wondering why it doesn’t work.</p>
<p>Well, it’s as simple as putting a GridViewHeader into the GridViewColumn definition and setting content to it.</p>
<pre>&lt;GridViewColumn  Width="Auto"&gt;
    &lt;GridViewColumnHeader&gt;
        &lt;Grid HorizontalAlignment="Right" &gt;
                &lt;Grid.RowDefinitions&gt;
                    &lt;RowDefinition/&gt;
                &lt;/Grid.RowDefinitions&gt;
                &lt;TextBlock Text<strong>="{Binding Title, Mode=OneWay}"</strong> Grid.Row="0" HorizontalAlignment="Right" /&gt;
             &lt;/Grid&gt;
    &lt;/GridViewColumnHeader&gt;
&lt;/GridViewColumn&gt;</pre>
<p>See. Nice and easy right? Just fill in the different UI controls you want to make it fit your needs and away you go.</p>
<p>Happy Coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://brianseekford.com/index.php/2010/09/29/how-to-put-bound-data-binding-into-a-grid-view-header-or-list-view-header/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to left align or right align the header in a ListView or GridView in WPF</title>
		<link>http://brianseekford.com/index.php/2010/09/28/how-to-left-align-or-right-align-the-header-in-a-listview-or-gridview-in-wpf/</link>
		<comments>http://brianseekford.com/index.php/2010/09/28/how-to-left-align-or-right-align-the-header-in-a-listview-or-gridview-in-wpf/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 17:44:50 +0000</pubDate>
		<dc:creator>Brian Seekford</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[Alignment]]></category>
		<category><![CDATA[GridView]]></category>
		<category><![CDATA[ListView]]></category>
		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://brianseekford.com/?p=382</guid>
		<description><![CDATA[So you have this great ListView or GridView in your fancy WPF application, but everything is centered. Maybe you like that, and all is good. Or, like most of us, you want the data aligned to the left or right. I like the left for most data, makes more sense. You looked for the property, [...]]]></description>
			<content:encoded><![CDATA[<p>So you have this great ListView or GridView in your fancy WPF application, but everything is centered. Maybe you like that, and all is good. Or, like most of us, you want the data aligned to the left or right. I like the left for most data, makes more sense. You looked for the property, and hmm… not to be found.</p>
<p>It turns out this seemingly simple task is, well, actually quite simple. It is really easy to spend a number of hours looking for the “magic” tag, property, etc. to do this. You will find out though, it’s all about having style.</p>
<p>You simply need to set the HorizontalContentAlignment on the style for the header to align everything however you want to.</p>
<p>Take a look at the following code:</p>
<pre style="font-family: consolas;"><span style="color: blue;">&lt;</span><span style="color: #a31515;">GridViewColumn</span> <span style="color: red;"> Width</span><span style="color: blue;">=</span><span style="color: blue;">"Auto"</span><span style="color: red;"> </span><span style="color: blue;"> &gt;</span><span style="color: #a31515;">
</span><span style="color: blue;"> &lt;</span><span style="color: #a31515;">GridViewColumn.HeaderContainerStyle</span><span style="color: blue;">&gt;
</span><span style="color: #a31515;">    </span><span style="color: blue;">&lt;</span><span style="color: #a31515;">Style</span> <span style="color: red;"> TargetType</span><span style="color: blue;">="{</span><span style="color: #a31515;">x</span><span style="color: blue;">:</span><span style="color: #a31515;">Type</span><span style="color: red;"> GridViewColumnHeader</span><span style="color: blue;">}</span><span style="color: blue;">"</span><span style="color: blue;">&gt;
</span><span style="color: #a31515;">            </span><span style="color: blue;">&lt;</span><span style="color: #a31515;">Setter</span><span style="color: red;"> Property</span><span style="color: blue;">=</span><span style="color: blue;">"HorizontalContentAlignment"</span><span style="color: red;"> Value</span><span style="color: blue;">=</span><span style="color: blue;">"Right"</span><span style="color: blue;"> /&gt;</span><span style="color: #a31515;">
    </span><span style="color: blue;">&lt;/</span><span style="color: #a31515;">Style</span><span style="color: blue;">&gt;</span><span style="color: #a31515;">    </span><span style="color: blue;">
 &lt;/</span><span style="color: #a31515;">GridViewColumn.HeaderContainerStyle</span><span style="color: blue;">&gt;</span><span style="color: blue;">
&lt;/</span><span style="color: #a31515;">GridViewColumn</span><span style="color: blue;">&gt;</span></pre>
<p>What we are doing is setting the HorizontalContentAlignment to right aligned. This will cause the contents of the header to all shift to the right. If you are using your own template, make sure to right align the textblocks and other controls as well. Otherwise, it probably won’t look right.</p>
<p>Nice and easy, right?</p>
<p>Happy Coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://brianseekford.com/index.php/2010/09/28/how-to-left-align-or-right-align-the-header-in-a-listview-or-gridview-in-wpf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mouse Double Click for WPF in MVVM using a clean Behavior with Command Binding</title>
		<link>http://brianseekford.com/index.php/2010/08/31/mouse-double-click-for-wpf-in-mvvm-using-a-clean-behavior-with-command-binding/</link>
		<comments>http://brianseekford.com/index.php/2010/08/31/mouse-double-click-for-wpf-in-mvvm-using-a-clean-behavior-with-command-binding/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 13:07:00 +0000</pubDate>
		<dc:creator>Brian Seekford</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[Click]]></category>
		<category><![CDATA[DoubleClick]]></category>
		<category><![CDATA[MouseLeftButtonDown]]></category>
		<category><![CDATA[mvvm]]></category>
		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://brianseekford.com/?p=369</guid>
		<description><![CDATA[I wanted to capture the double click event, which is actually the MouseLeftButtonDown with the e.ClickCount ==2. Since I transitioned to a new WPF project, handed off the Silverlight work, I have been trying to keep the same MVVM pattern. I wanted to get the double click off of my TreeViewItem so the child node [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to capture the double click event, which is actually the MouseLeftButtonDown with the e.ClickCount ==2.</p>
<p>Since I transitioned to a new WPF project, handed off the Silverlight work, I have been trying to keep the same MVVM pattern. I wanted to get the double click off of my TreeViewItem so the child node could invoke the ViewModel to execute a Command.</p>
<p>Here is the behavior I wrote to handle this simple task.</p>
<p>Snippet</p>
<pre>using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using System.Windows.Controls;

namespace Seekford.Behaviors
{
    public static class MouseDoubleClickBehavior
    {
        /// &lt;summary&gt;
        /// Hooks up a weak event against the source Selectors MouseDoubleClick
        /// if the Selector has asked for the HandleDoubleClick to be handled
        ///�
        /// If the source Selector has expressed an interest in not having its
        /// MouseDoubleClick handled the internal reference
        /// &lt;/summary&gt;
        private static void OnHandleDoubleClickCommandChanged(DependencyObject d,
            DependencyPropertyChangedEventArgs e)
        {
            FrameworkElement ele = d as FrameworkElement;
            if (ele != null)
            {
                ele.MouseLeftButtonDown -= OnMouseDoubleClick;
                if (e.NewValue != null)
                {
                    ele.MouseLeftButtonDown += OnMouseDoubleClick;
                }
            }
        }

        /// &lt;summary&gt;
        /// TheCommandToRun : The actual ICommand to run
        /// &lt;/summary&gt;
        public static readonly DependencyProperty DoubleClickCommandProperty =
            DependencyProperty.RegisterAttached("DoubleClickCommand",
                typeof(ICommand),
                typeof(MouseDoubleClickBehavior),
                new FrameworkPropertyMetadata((ICommand)null,
                    new PropertyChangedCallback(OnHandleDoubleClickCommandChanged)));

        /// &lt;summary&gt;
        /// Gets the TheCommandToRun property. �
        /// &lt;/summary&gt;
        public static ICommand GetDoubleClickCommand(DependencyObject d)
        {
            return (ICommand)d.GetValue(DoubleClickCommandProperty);
        }

        /// &lt;summary&gt;
        /// Sets the TheCommandToRun property. �
        /// &lt;/summary&gt;
        public static void SetDoubleClickCommand(DependencyObject d, ICommand value)
        {
            d.SetValue(DoubleClickCommandProperty, value);
        }

        #region Handle the event

        /// &lt;summary&gt;
        /// Invoke the command we tagged.
        /// &lt;/summary&gt;
        /// &lt;param name="sender"&gt;&lt;/param&gt;
        /// &lt;param name="e"&gt;&lt;/param&gt;
        private static void OnMouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            //check for double clicks.
            if (e.ClickCount != 2)
                return;
            FrameworkElement ele = sender as FrameworkElement;

            DependencyObject originalSender = e.OriginalSource as DependencyObject;
            if (ele == null || originalSender == null)
                return;

            ICommand command = (ICommand)(sender as DependencyObject).GetValue(DoubleClickCommandProperty);

            if (command != null)
            {
                if (command.CanExecute(null))
                    command.Execute(null);
            }
        }
        #endregion
    }

}
</pre>
<p>Hopefully this helps you.</p>
<p>Oh, how to use. Almost forgot:</p>
<p>Snippet</p>
<pre>xmlns:infraBehaviors="clr-namespace:Seekford.Behaviors;assembly=Seekford"
</pre>
<p>Snippet</p>
<pre> &lt;Grid infraBehaviors:MouseDoubleClickBehavior.DoubleClickCommand="{Binding MyCommand}"  HorizontalAlignment="Stretch" &gt;
                &lt;Grid.ColumnDefinitions&gt;
                    &lt;ColumnDefinition Width="Auto"/&gt;       �
                &lt;/Grid.ColumnDefinitions&gt;
                &lt;Grid.RowDefinitions&gt;
                    &lt;RowDefinition&gt;&lt;/RowDefinition&gt;
                &lt;/Grid.RowDefinitions&gt;
                &lt;TextBlock Text="{Binding Name}" TextWrapping="Wrap" FontWeight="Bold"  Grid.Column="0"  /&gt;
            &lt;/Grid&gt;</pre>
<p>Of course, make your own namespace and correct accordingly. But you already knew that.</p>
<p>Happy Coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://brianseekford.com/index.php/2010/08/31/mouse-double-click-for-wpf-in-mvvm-using-a-clean-behavior-with-command-binding/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

