<?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"
	>
<channel>
	<title>Comments on: Triggering Events and Updating Bindings</title>
	<atom:link href="http://www.designerwpf.com/2008/02/27/triggering-events-and-updating-bindings/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designerwpf.com/2008/02/27/triggering-events-and-updating-bindings/</link>
	<description>Matthias Shapiro's WPF &#38; Silverlight Blog - Because Developers Get All The Good Blogs</description>
	<pubDate>Fri, 21 Nov 2008 12:52:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Matthias Shapiro</title>
		<link>http://www.designerwpf.com/2008/02/27/triggering-events-and-updating-bindings/#comment-172</link>
		<dc:creator>Matthias Shapiro</dc:creator>
		<pubDate>Thu, 28 Feb 2008 03:30:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.designerwpf.com/2008/02/27/triggering-events-and-updating-bindings/#comment-172</guid>
		<description>leovernazza, the problem I'm having is that my Visibility is databound to a data element (the same one that I've also bound to my Canvas.Left and Canvas.Top). When that visibility flips from "Collapsed" to "Visible", I know that there is data on the object (Visible objects require that data), but it hasn't updated through to the Canvas binding. 

The result is that the IsVisibleChanged is handled, but the Canvas bindings haven't metriculated through to the layout. My solution involved just saying "screw it" to the layout and going to the object directly.</description>
		<content:encoded><![CDATA[<p>leovernazza, the problem I&#8217;m having is that my Visibility is databound to a data element (the same one that I&#8217;ve also bound to my Canvas.Left and Canvas.Top). When that visibility flips from &#8220;Collapsed&#8221; to &#8220;Visible&#8221;, I know that there is data on the object (Visible objects require that data), but it hasn&#8217;t updated through to the Canvas binding. </p>
<p>The result is that the IsVisibleChanged is handled, but the Canvas bindings haven&#8217;t metriculated through to the layout. My solution involved just saying &#8220;screw it&#8221; to the layout and going to the object directly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tor Langlo</title>
		<link>http://www.designerwpf.com/2008/02/27/triggering-events-and-updating-bindings/#comment-171</link>
		<dc:creator>Tor Langlo</dc:creator>
		<pubDate>Wed, 27 Feb 2008 22:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.designerwpf.com/2008/02/27/triggering-events-and-updating-bindings/#comment-171</guid>
		<description>Hey, don't be afraid of Invoke or (BeginInvoke), it's actually a very good friend to have sometimes. :-)

Email me if you want to talk about it (or we can get in touch at Mix).

Tor.</description>
		<content:encoded><![CDATA[<p>Hey, don&#8217;t be afraid of Invoke or (BeginInvoke), it&#8217;s actually a very good friend to have sometimes. <img src='http://www.designerwpf.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Email me if you want to talk about it (or we can get in touch at Mix).</p>
<p>Tor.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Wolf</title>
		<link>http://www.designerwpf.com/2008/02/27/triggering-events-and-updating-bindings/#comment-170</link>
		<dc:creator>Mike Wolf</dc:creator>
		<pubDate>Wed, 27 Feb 2008 15:53:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.designerwpf.com/2008/02/27/triggering-events-and-updating-bindings/#comment-170</guid>
		<description>being as that I havent gotten to bed before 3 am most nights the past week preping for mix and phizzpop I feel your pain brother ... keep in there, a couple drinks on me next week.</description>
		<content:encoded><![CDATA[<p>being as that I havent gotten to bed before 3 am most nights the past week preping for mix and phizzpop I feel your pain brother &#8230; keep in there, a couple drinks on me next week.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leovernazza</title>
		<link>http://www.designerwpf.com/2008/02/27/triggering-events-and-updating-bindings/#comment-168</link>
		<dc:creator>leovernazza</dc:creator>
		<pubDate>Wed, 27 Feb 2008 11:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.designerwpf.com/2008/02/27/triggering-events-and-updating-bindings/#comment-168</guid>
		<description>I don't know if I understand your problem...

object.Left has a databinding
object.Top has a databinding
object.IsVisibleChanged is handled

What if you handle the change of the three properties? Could you?

private void CallInAllChange()
{
    if (this.AllChangesWereMade)
    {
       // do what you need
    }
}</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if I understand your problem&#8230;</p>
<p>object.Left has a databinding<br />
object.Top has a databinding<br />
object.IsVisibleChanged is handled</p>
<p>What if you handle the change of the three properties? Could you?</p>
<p>private void CallInAllChange()<br />
{<br />
    if (this.AllChangesWereMade)<br />
    {<br />
       // do what you need<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
