<?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: Silverlight MultiBinding solution for Silverlight 4</title>
	<atom:link href="http://www.scottlogic.co.uk/blog/colin/2010/05/silverlight-multibinding-solution-for-silverlight-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scottlogic.co.uk/blog/colin/2010/05/silverlight-multibinding-solution-for-silverlight-4/</link>
	<description>Colin Eberhardt&#039;s Adventures in .NET</description>
	<lastBuildDate>Thu, 09 Feb 2012 03:02:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: DudeInMass</title>
		<link>http://www.scottlogic.co.uk/blog/colin/2010/05/silverlight-multibinding-solution-for-silverlight-4/#comment-85907</link>
		<dc:creator>DudeInMass</dc:creator>
		<pubDate>Fri, 16 Sep 2011 00:34:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/colin/?p=650#comment-85907</guid>
		<description>How are using an extension method for this?  That doesn&#039;t make sense to me since you cannot binding to an extension method.  The purpose of this to bind a single property to multiple sources.

Personally I don&#039;t like MultiBinding and IMultiValueConveter because it is not type safe, it has issues with reordering in the XAML, and it lacks compile time checks.

So I am curious what your extension method approach is.  Can you elaborate?</description>
		<content:encoded><![CDATA[<p>How are using an extension method for this?  That doesn&#8217;t make sense to me since you cannot binding to an extension method.  The purpose of this to bind a single property to multiple sources.</p>
<p>Personally I don&#8217;t like MultiBinding and IMultiValueConveter because it is not type safe, it has issues with reordering in the XAML, and it lacks compile time checks.</p>
<p>So I am curious what your extension method approach is.  Can you elaborate?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Digvijay</title>
		<link>http://www.scottlogic.co.uk/blog/colin/2010/05/silverlight-multibinding-solution-for-silverlight-4/#comment-73131</link>
		<dc:creator>Digvijay</dc:creator>
		<pubDate>Thu, 18 Aug 2011 16:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/colin/?p=650#comment-73131</guid>
		<description>Hi,

Thanks for the good post. But it looked like too much of code to do something simple. We were facing a similar need in one of our projects and we just used a extension method on the item we were binding to and voila, it works just the way we wanted.

Can you tell me why this approach is better than using extension methods?

regards,

Digvijay</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for the good post. But it looked like too much of code to do something simple. We were facing a similar need in one of our projects and we just used a extension method on the item we were binding to and voila, it works just the way we wanted.</p>
<p>Can you tell me why this approach is better than using extension methods?</p>
<p>regards,</p>
<p>Digvijay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dotnetruler</title>
		<link>http://www.scottlogic.co.uk/blog/colin/2010/05/silverlight-multibinding-solution-for-silverlight-4/#comment-71270</link>
		<dc:creator>dotnetruler</dc:creator>
		<pubDate>Thu, 11 Aug 2011 16:12:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/colin/?p=650#comment-71270</guid>
		<description>I am trying to use your code in this example

http://stackoverflow.com/questions/833943/watermark-textbox-in-wpf

Its complaining the follownig error

A property element cannot be the direct content of another property element.

Any idea how to over come this?</description>
		<content:encoded><![CDATA[<p>I am trying to use your code in this example</p>
<p><a href="http://stackoverflow.com/questions/833943/watermark-textbox-in-wpf" rel="nofollow">http://stackoverflow.com/questions/833943/watermark-textbox-in-wpf</a></p>
<p>Its complaining the follownig error</p>
<p>A property element cannot be the direct content of another property element.</p>
<p>Any idea how to over come this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Collins</title>
		<link>http://www.scottlogic.co.uk/blog/colin/2010/05/silverlight-multibinding-solution-for-silverlight-4/#comment-69250</link>
		<dc:creator>Brian Collins</dc:creator>
		<pubDate>Wed, 03 Aug 2011 15:21:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/colin/?p=650#comment-69250</guid>
		<description>Oh, and I also added the ability to pass in two ConverterParameters, (not bindable).</description>
		<content:encoded><![CDATA[<p>Oh, and I also added the ability to pass in two ConverterParameters, (not bindable).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Collins</title>
		<link>http://www.scottlogic.co.uk/blog/colin/2010/05/silverlight-multibinding-solution-for-silverlight-4/#comment-69249</link>
		<dc:creator>Brian Collins</dc:creator>
		<pubDate>Wed, 03 Aug 2011 15:20:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/colin/?p=650#comment-69249</guid>
		<description>Hi Colin,

   I had a situation where I needed to be able to bind to a dictionary and access it from ConvertBack in my Converter.  The reason was that I have a dynamic dictionary that I needed to have two-way binding.  So I modified your MultiBinding to have a ParamOut dependency property, which gave me a bindable property that I could access on the ConvertBack method.  I thought I would share it.  I also did the same with Stefan Olson&#039;s version, (the one that allows you to bind to multiple properties on the same data context).  The source code can be found here: &lt;a href=&quot;http://www.keplerresearch.com/downloads.html&quot; rel=&quot;nofollow&quot;&gt;Source&lt;/a&gt;.  In addition, I have added a link to my converters, models, and the page it was used in for reference.  The AttributePossibleValuesConverter was used in my ItemsSource for the combobox and returns a collection of type AttributePossibleValue, which is a model in my project.  The AttributeConverterMultiBinding was the converter I used for my selected item and to get two way binding using multi-binding.  I hope this helps someone else out, since it took a couple days to get this all squared away.

Brian</description>
		<content:encoded><![CDATA[<p>Hi Colin,</p>
<p>   I had a situation where I needed to be able to bind to a dictionary and access it from ConvertBack in my Converter.  The reason was that I have a dynamic dictionary that I needed to have two-way binding.  So I modified your MultiBinding to have a ParamOut dependency property, which gave me a bindable property that I could access on the ConvertBack method.  I thought I would share it.  I also did the same with Stefan Olson&#8217;s version, (the one that allows you to bind to multiple properties on the same data context).  The source code can be found here: <a href="http://www.keplerresearch.com/downloads.html" rel="nofollow">Source</a>.  In addition, I have added a link to my converters, models, and the page it was used in for reference.  The AttributePossibleValuesConverter was used in my ItemsSource for the combobox and returns a collection of type AttributePossibleValue, which is a model in my project.  The AttributeConverterMultiBinding was the converter I used for my selected item and to get two way binding using multi-binding.  I hope this helps someone else out, since it took a couple days to get this all squared away.</p>
<p>Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MultiBinding silverlight 4 (баг №2) &#171; Simple code DudeFactory</title>
		<link>http://www.scottlogic.co.uk/blog/colin/2010/05/silverlight-multibinding-solution-for-silverlight-4/#comment-57572</link>
		<dc:creator>MultiBinding silverlight 4 (баг №2) &#171; Simple code DudeFactory</dc:creator>
		<pubDate>Fri, 03 Jun 2011 09:18:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/colin/?p=650#comment-57572</guid>
		<description>[...] multibinding: Первое, что вам нужно, это посетить блог  scottlogic silverlight multibinding solution for silverlight-4/ &#8211; там подробно описано, что и как работает. Я же вам [...]</description>
		<content:encoded><![CDATA[<p>[...] multibinding: Первое, что вам нужно, это посетить блог  scottlogic silverlight multibinding solution for silverlight-4/ &#8211; там подробно описано, что и как работает. Я же вам [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naresh Bhatia</title>
		<link>http://www.scottlogic.co.uk/blog/colin/2010/05/silverlight-multibinding-solution-for-silverlight-4/#comment-46458</link>
		<dc:creator>Naresh Bhatia</dc:creator>
		<pubDate>Thu, 17 Mar 2011 04:14:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/colin/?p=650#comment-46458</guid>
		<description>Nichoas, in your code below, what is relay.Mode? Relay (MultiBinding) does not have any property named Mode. Aside from that I modified the code as you suggested, but I am still getting the same exception.</description>
		<content:encoded><![CDATA[<p>Nichoas, in your code below, what is relay.Mode? Relay (MultiBinding) does not have any property named Mode. Aside from that I modified the code as you suggested, but I am still getting the same exception.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas</title>
		<link>http://www.scottlogic.co.uk/blog/colin/2010/05/silverlight-multibinding-solution-for-silverlight-4/#comment-46410</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Wed, 16 Mar 2011 21:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.scottlogic.co.uk/blog/colin/?p=650#comment-46410</guid>
		<description>In Initialize, did you create the binding like so:

Binding binding = new Binding(&quot;ConvertedValue&quot;)
{
    Source = relay,
    Mode = relay.Mode,
    TargetNullValue = relay.TargetNullValue
};</description>
		<content:encoded><![CDATA[<p>In Initialize, did you create the binding like so:</p>
<p>Binding binding = new Binding(&#8220;ConvertedValue&#8221;)<br />
{<br />
    Source = relay,<br />
    Mode = relay.Mode,<br />
    TargetNullValue = relay.TargetNullValue<br />
};</p>
]]></content:encoded>
	</item>
</channel>
</rss>

