<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: WPF Margin Property</title>
	<atom:link href="http://vkreynin.wordpress.com/2008/10/05/wpf-margin-property/feed/" rel="self" type="application/rss+xml" />
	<link>http://vkreynin.wordpress.com/2008/10/05/wpf-margin-property/</link>
	<description>Never stop learning.</description>
	<lastBuildDate>Fri, 18 Dec 2009 16:34:47 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jason</title>
		<link>http://vkreynin.wordpress.com/2008/10/05/wpf-margin-property/#comment-672</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Wed, 29 Jul 2009 19:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://vkreynin.wordpress.com/2008/10/05/wpf-margin-property/#comment-672</guid>
		<description>My question is: why didn&#039;t the WPF programmers use the well known HTML order for this: Top, Right, Bottom, Left? </description>
		<content:encoded><![CDATA[<p>My question is: why didn&#8217;t the WPF programmers use the well known HTML order for this: Top, Right, Bottom, Left?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WPF Margin demystified. &#171; Vadim&#8217;s Weblog</title>
		<link>http://vkreynin.wordpress.com/2008/10/05/wpf-margin-property/#comment-530</link>
		<dc:creator>WPF Margin demystified. &#171; Vadim&#8217;s Weblog</dc:creator>
		<pubDate>Tue, 14 Oct 2008 01:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://vkreynin.wordpress.com/2008/10/05/wpf-margin-property/#comment-530</guid>
		<description>[...] Margin&#160;demystified.  In my previous post I asked a question about this line of [...]</description>
		<content:encoded><![CDATA[<p>[...] Margin&nbsp;demystified.  In my previous post I asked a question about this line of [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vadim</title>
		<link>http://vkreynin.wordpress.com/2008/10/05/wpf-margin-property/#comment-529</link>
		<dc:creator>Vadim</dc:creator>
		<pubDate>Mon, 13 Oct 2008 23:30:47 +0000</pubDate>
		<guid isPermaLink="false">http://vkreynin.wordpress.com/2008/10/05/wpf-margin-property/#comment-529</guid>
		<description>Rune &amp; Sam,

Thanks a lot for you help.  You&#039;re absolutely right ThnicknessConverter does the job.
It has internal method FromString that include the code bellow:

switch (index)
    {
        case 1:
            return new Thickness(numArray[0]);

        case 2:
            return new Thickness(numArray[0], numArray[1], numArray[0], numArray[1]);

        case 4:
            return new Thickness(numArray[0], numArray[1], numArray[2], numArray[3]);
    }</description>
		<content:encoded><![CDATA[<p>Rune &amp; Sam,</p>
<p>Thanks a lot for you help.  You&#8217;re absolutely right ThnicknessConverter does the job.<br />
It has internal method FromString that include the code bellow:</p>
<p>switch (index)<br />
    {<br />
        case 1:<br />
            return new Thickness(numArray[0]);</p>
<p>        case 2:<br />
            return new Thickness(numArray[0], numArray[1], numArray[0], numArray[1]);</p>
<p>        case 4:<br />
            return new Thickness(numArray[0], numArray[1], numArray[2], numArray[3]);<br />
    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ilovetocode</title>
		<link>http://vkreynin.wordpress.com/2008/10/05/wpf-margin-property/#comment-528</link>
		<dc:creator>ilovetocode</dc:creator>
		<pubDate>Mon, 13 Oct 2008 18:58:40 +0000</pubDate>
		<guid isPermaLink="false">http://vkreynin.wordpress.com/2008/10/05/wpf-margin-property/#comment-528</guid>
		<description>Hi,

Rune has it right. Some properties of WPF objects have implicit converters attached to them (based on type). This allows the input string to take several different forms without having to specify a converter in XAML for each use.

The converter at work here is a ThicknessConverter which parses the input string and attempts to map the values given in the string to one of the Thickness object constructor overloads.

For more information take a look at http://msdn.microsoft.com/en-us/library/ms752059.aspx#typeconverterenabled

Sam.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Rune has it right. Some properties of WPF objects have implicit converters attached to them (based on type). This allows the input string to take several different forms without having to specify a converter in XAML for each use.</p>
<p>The converter at work here is a ThicknessConverter which parses the input string and attempts to map the values given in the string to one of the Thickness object constructor overloads.</p>
<p>For more information take a look at <a href="http://msdn.microsoft.com/en-us/library/ms752059.aspx#typeconverterenabled" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms752059.aspx#typeconverterenabled</a></p>
<p>Sam.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rune Jacobsen</title>
		<link>http://vkreynin.wordpress.com/2008/10/05/wpf-margin-property/#comment-527</link>
		<dc:creator>Rune Jacobsen</dc:creator>
		<pubDate>Wed, 08 Oct 2008 11:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://vkreynin.wordpress.com/2008/10/05/wpf-margin-property/#comment-527</guid>
		<description>Hi there,

I am by no means a WPF guru, but I am learning as well.

Just like with LINQ, the compiler does a LOT of magic behind the scenes when churning XAML into something binary. The XAML you create can be quite different from the actual object structure the compiler builds for you. So my guess would be that something tells the compiler that &quot;x y&quot; must be the same as &quot;x y x y&quot;..

Rune</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>I am by no means a WPF guru, but I am learning as well.</p>
<p>Just like with LINQ, the compiler does a LOT of magic behind the scenes when churning XAML into something binary. The XAML you create can be quite different from the actual object structure the compiler builds for you. So my guess would be that something tells the compiler that &#8220;x y&#8221; must be the same as &#8220;x y x y&#8221;..</p>
<p>Rune</p>
]]></content:encoded>
	</item>
</channel>
</rss>
