<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WPF &#8211; Common Dependency Property Exception</title>
	<atom:link href="http://reedcopsey.com/2009/10/23/wpf-common-dependency-property-exception/feed/" rel="self" type="application/rss+xml" />
	<link>http://reedcopsey.com/2009/10/23/wpf-common-dependency-property-exception/</link>
	<description>Thoughts on C#, WPF, .NET, and programming for Scientific Visualization</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:38:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: a</title>
		<link>http://reedcopsey.com/2009/10/23/wpf-common-dependency-property-exception/#comment-2002</link>
		<dc:creator>a</dc:creator>
		<pubDate>Sun, 01 Jan 2012 09:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/?p=67#comment-2002</guid>
		<description>Thanks a lot,
It helped me.</description>
		<content:encoded><![CDATA[<p>Thanks a lot,<br />
It helped me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris27</title>
		<link>http://reedcopsey.com/2009/10/23/wpf-common-dependency-property-exception/#comment-1696</link>
		<dc:creator>Chris27</dc:creator>
		<pubDate>Wed, 11 May 2011 11:08:36 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/?p=67#comment-1696</guid>
		<description>Brilliant article! Thank you so much for this - I&#039;ve just been trying to debug exactly the same scenario without any real clue as to what was happening. Turns out my custom object Type that I&#039;m setting via the DependencyProperty doesn&#039;t &#039;unbox&#039; nicely from a UIPropertyMetadata object - I&#039;ve just removed that parameter from DependencyProperty.Register() and everything works!

Cheers, Chris</description>
		<content:encoded><![CDATA[<p>Brilliant article! Thank you so much for this &#8211; I&#8217;ve just been trying to debug exactly the same scenario without any real clue as to what was happening. Turns out my custom object Type that I&#8217;m setting via the DependencyProperty doesn&#8217;t &#8216;unbox&#8217; nicely from a UIPropertyMetadata object &#8211; I&#8217;ve just removed that parameter from DependencyProperty.Register() and everything works!</p>
<p>Cheers, Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piotr</title>
		<link>http://reedcopsey.com/2009/10/23/wpf-common-dependency-property-exception/#comment-1142</link>
		<dc:creator>Piotr</dc:creator>
		<pubDate>Thu, 09 Sep 2010 13:02:47 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/?p=67#comment-1142</guid>
		<description>Thx. It helps a lot. 
I used incorrect third parameter with similar result.</description>
		<content:encoded><![CDATA[<p>Thx. It helps a lot.<br />
I used incorrect third parameter with similar result.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://reedcopsey.com/2009/10/23/wpf-common-dependency-property-exception/#comment-1141</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sat, 04 Sep 2010 01:57:48 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/?p=67#comment-1141</guid>
		<description>Here&#039;s a suggested topic: FrameworkPropertyMetadata and setting the default binding mode (as well as a host of other settings).</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a suggested topic: FrameworkPropertyMetadata and setting the default binding mode (as well as a host of other settings).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://reedcopsey.com/2009/10/23/wpf-common-dependency-property-exception/#comment-1140</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sat, 04 Sep 2010 01:54:52 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/?p=67#comment-1140</guid>
		<description>Now THAT&#039;s a good blog article ! 
I always appreciate it when someone really knows what they&#039;re talking about.</description>
		<content:encoded><![CDATA[<p>Now THAT&#8217;s a good blog article !<br />
I always appreciate it when someone really knows what they&#8217;re talking about.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reed</title>
		<link>http://reedcopsey.com/2009/10/23/wpf-common-dependency-property-exception/#comment-94</link>
		<dc:creator>Reed</dc:creator>
		<pubDate>Fri, 23 Oct 2009 22:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/?p=67#comment-94</guid>
		<description>Hi Luis!  Thanks for the comment - Note that this was my suggested solution at the end (although putting in new PropertyMetadata(0.0) works as well).  I wanted to point out exactly WHY this occurs, so people are aware of it being a problem, since I recently had a not-so-fun experience of trying to debug this deep inside of a DependencyObject where it was not obvious.  (I was doing this on a behavior, which makes the debugging info even less readable.)</description>
		<content:encoded><![CDATA[<p>Hi Luis!  Thanks for the comment &#8211; Note that this was my suggested solution at the end (although putting in new PropertyMetadata(0.0) works as well).  I wanted to point out exactly WHY this occurs, so people are aware of it being a problem, since I recently had a not-so-fun experience of trying to debug this deep inside of a DependencyObject where it was not obvious.  (I was doing this on a behavior, which makes the debugging info even less readable.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis Guerrero</title>
		<link>http://reedcopsey.com/2009/10/23/wpf-common-dependency-property-exception/#comment-93</link>
		<dc:creator>Luis Guerrero</dc:creator>
		<pubDate>Fri, 23 Oct 2009 21:04:48 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/?p=67#comment-93</guid>
		<description>You&#039;re right, what do you need to do is:

public static DependencyProperty ValueProperty =
    DependencyProperty.Register(
        &quot;Value&quot;,
        typeof(double),
        typeof(Window1),
        new PropertyMetadata(0d));

Cheers. Luis.</description>
		<content:encoded><![CDATA[<p>You&#8217;re right, what do you need to do is:</p>
<p>public static DependencyProperty ValueProperty =<br />
    DependencyProperty.Register(<br />
        &#8220;Value&#8221;,<br />
        typeof(double),<br />
        typeof(Window1),<br />
        new PropertyMetadata(0d));</p>
<p>Cheers. Luis.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention WPF – Common Dependency Property Exception &#124; Reed Copsey, Jr. -- Topsy.com</title>
		<link>http://reedcopsey.com/2009/10/23/wpf-common-dependency-property-exception/#comment-92</link>
		<dc:creator>Tweets that mention WPF – Common Dependency Property Exception &#124; Reed Copsey, Jr. -- Topsy.com</dc:creator>
		<pubDate>Fri, 23 Oct 2009 20:59:43 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/?p=67#comment-92</guid>
		<description>[...] This post was mentioned on Twitter by Reed Copsey, Jr., Reed Copsey, Jr.. Reed Copsey, Jr. said: Published a new blog post: WPF – Common Dependency Property Exception http://cli.gs/Unt6S [...]

[WORDPRESS HASHCASH] The comment&#039;s server IP (208.74.66.43) doesn&#039;t match the comment&#039;s URL host IP (74.112.128.10) and so is spam.</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Reed Copsey, Jr., Reed Copsey, Jr.. Reed Copsey, Jr. said: Published a new blog post: WPF – Common Dependency Property Exception <a href="http://cli.gs/Unt6S" rel="nofollow">http://cli.gs/Unt6S</a> [...]</p>
<p>[WORDPRESS HASHCASH] The comment&#8217;s server IP (208.74.66.43) doesn&#8217;t match the comment&#8217;s URL host IP (74.112.128.10) and so is spam.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
 
