<?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, TextBox, TwoWay Binding and the TextChanged event</title> <atom:link href="http://www.fsmpi.uni-bayreuth.de/~dun3/archives/silverlight-textbox-twoway-binding-textchanged-lostfocus-event-updatesourcetrigger/359.html/feed" rel="self" type="application/rss+xml" /><link>http://www.fsmpi.uni-bayreuth.de/~dun3/archives/silverlight-textbox-twoway-binding-textchanged-lostfocus-event-updatesourcetrigger/359.html</link> <description>This is a collection of interesting stuff that I found on the web or stuff I worked on at the time.</description> <lastBuildDate>Tue, 07 Feb 2012 20:01:32 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.1</generator> <item><title>By: Johan Nordholm</title><link>http://www.fsmpi.uni-bayreuth.de/~dun3/archives/silverlight-textbox-twoway-binding-textchanged-lostfocus-event-updatesourcetrigger/359.html/comment-page-1#comment-346640</link> <dc:creator>Johan Nordholm</dc:creator> <pubDate>Wed, 21 Apr 2010 07:25:48 +0000</pubDate> <guid
isPermaLink="false">http://saftsack.fs.uni-bayreuth.de/~dun3/?p=359#comment-346640</guid> <description>Another possibility is to use:
&lt;code&gt;
private void Tekst_TextChanged( object sender, TextChangedEventArgs e)
{
((TextBox) sender).GetBindingExpression( TextBox.TextProperty ).UpdateSource();
}
&lt;/code&gt;Had the same problem and used the MVP pattern, and ultimately didn&#039;t want to mess too much with the code behind. Cheers</description> <content:encoded><![CDATA[<p>Another possibility is to use:<br
/> <code><br
/> private void Tekst_TextChanged( object sender, TextChangedEventArgs e)<br
/> {<br
/> ((TextBox) sender).GetBindingExpression( TextBox.TextProperty ).UpdateSource();<br
/> }<br
/> </code></p><p>Had the same problem and used the MVP pattern, and ultimately didn&#8217;t want to mess too much with the code behind. Cheers</p> ]]></content:encoded> </item> <item><title>By: Kobus</title><link>http://www.fsmpi.uni-bayreuth.de/~dun3/archives/silverlight-textbox-twoway-binding-textchanged-lostfocus-event-updatesourcetrigger/359.html/comment-page-1#comment-343649</link> <dc:creator>Kobus</dc:creator> <pubDate>Thu, 04 Feb 2010 15:13:38 +0000</pubDate> <guid
isPermaLink="false">http://saftsack.fs.uni-bayreuth.de/~dun3/?p=359#comment-343649</guid> <description>I was lucky to find your solution. Have not used it extensively but so far it works great. Thank you.Kobus</description> <content:encoded><![CDATA[<p>I was lucky to find your solution. Have not used it extensively but so far it works great. Thank you.</p><p>Kobus</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 2/9 queries in 0.005 seconds using disk

Served from: btfmx2.fs.uni-bayreuth.de @ 2012-02-12 08:59:24 -->
