<?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>Veracity Solutions Blog &#187; IsVisibleChanged</title>
	<atom:link href="http://blogs.veracitysolutions.com/tag/isvisiblechanged/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.veracitysolutions.com</link>
	<description>Software Consulting That Rocks</description>
	<lastBuildDate>Thu, 22 Apr 2010 17:21:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Triggering Events and Updating Bindings</title>
		<link>http://blogs.veracitysolutions.com/triggering-events-and-updating-bindings/</link>
		<comments>http://blogs.veracitysolutions.com/triggering-events-and-updating-bindings/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 08:48:14 +0000</pubDate>
		<dc:creator>Matthias Shapiro</dc:creator>
				<category><![CDATA[Advanced Tutorial]]></category>
		<category><![CDATA[Data Binding]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[IsVisibleChanged]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://www.designerwpf.com/2008/02/27/triggering-events-and-updating-bindings/</guid>
		<description><![CDATA[Sorry for the extended absence&#8230; I&#8217;m been working myself to the bone on the Veracity submission to the Show Off at MIX08. We&#8217;ll have some really kicking stuff to play around with at the Open Space&#8230; you should drop by and say hi. I look something like this:

At least I look like that at 1:30 AM.
OK, [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry for the extended absence&#8230; I&#8217;m been working myself to the bone on the Veracity submission to the <a href="http://visitmix.com/2008/showoff/">Show Off at MIX08</a>. We&#8217;ll have some really kicking stuff to play around with at the Open Space&#8230; you should drop by and say hi. I look something like this:</p>
<p><img src="http://www.designerwpf.com/wp-content/uploads/2008/02/meat130.png" alt="MeAt130" /></p>
<p>At least I look like that at 1:30 AM.</p>
<p>OK, so I felt the need to pipe up at this ungodly hour with a public service announcement about events and databinding. I just spent a good hour trying to figure out a workaround for this problem. I had a method being called on my &#8220;IsVisibleChanged&#8221; event. I was planning on take that item and performing some code-behind logic based on the databound Canvas.Left and Canvas.Top properties.</p>
<p>WPF put the smack-down on that action. The data binding wouldn&#8217;t update before the event was called. And I couldn&#8217;t make it. Not without some kind of Invoke&#8230; which, I must admit, scares the ever-loving crap out of me, so I didn&#8217;t try&#8230; also because I didn&#8217;t know how to use it.</p>
<p>My advice if your databinding won&#8217;t update? Find some way of going to the data itself. If you&#8217;re binding to something in the XAML, you should be able to find the object you&#8217;re binding to in the code as well. Just go straight to the source.</p>
<p>Anyone have a better idea or suggestion? I&#8217;m totally open to hearing it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.veracitysolutions.com/triggering-events-and-updating-bindings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
