<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Beta 2 Event Bubbling</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/03/beta-2-event-bubbling.aspx</link><description>There are many great changes in Beta 2, and some are designed to make Silverlight more like WPF. One side effect of this is that event bubbling has changed just a bit and that bit breaks some of the examples I love to use. In Beta 1, the distinction was</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>re: Beta 2 Event Bubbling</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/03/beta-2-event-bubbling.aspx#280433</link><pubDate>Wed, 02 Sep 2009 12:15:17 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:280433</guid><dc:creator>martiendejong2008</dc:creator><description>&lt;p&gt;Does anyone have a suggestion on how to capture events by default?&lt;/p&gt;
&lt;p&gt;For instance, I have a window control&lt;/p&gt;
&lt;p&gt;&amp;lt;UI:Window&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;TextBlock Text=&amp;quot;some text&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;Button /&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/UI:Window&amp;gt;&lt;/p&gt;
&lt;p&gt;Now when the button is clicked, the window does not get the focus (the button-lmd ate the event).&lt;/p&gt;
&lt;p&gt;Of course this behaviour is undesirable for windows and form controls. &lt;/p&gt;
&lt;p&gt;Is there a way to fix this, without registering mass child eventhandlers?&lt;/p&gt;
&lt;p&gt;Thanks, regards,&lt;/p&gt;
&lt;p&gt;Martien&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=280433" width="1" height="1"&gt;</description></item><item><title>Quick note: New TechEd downloads</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/03/beta-2-event-bubbling.aspx#154736</link><pubDate>Thu, 01 Jan 2009 19:00:09 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:154736</guid><dc:creator>Just Code - Tamir Khason</dc:creator><description>&lt;p&gt;[This blog was migrated. You will not be able to comment here. The new URL of this post is &lt;a rel="nofollow" target="_new" href="http://khason"&gt;http://khason&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=154736" width="1" height="1"&gt;</description></item><item><title>Quick note: New TechEd downloads | Tamir Khason - Just code</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/03/beta-2-event-bubbling.aspx#154651</link><pubDate>Thu, 01 Jan 2009 08:50:40 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:154651</guid><dc:creator>Quick note: New TechEd downloads | Tamir Khason - Just code</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Quick note: New TechEd downloads | Tamir Khason - Just code&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=154651" width="1" height="1"&gt;</description></item><item><title>re: Beta 2 Event Bubbling</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/03/beta-2-event-bubbling.aspx#65708</link><pubDate>Thu, 26 Jun 2008 23:03:16 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:65708</guid><dc:creator>Flyte</dc:creator><description>&lt;p&gt;I've spent all day trawling Google, MSDN and Silverlight.net for an answer to firing MouseLeftButtonDown/Up events for a Slider, but thus far none of the solutions have worked.&lt;/p&gt;
&lt;p&gt;I've tried putting grids / canvasses behind the slider, but it just doesn't fire when I use the slider. If I put a rectangle over the slider and make it invisible, I can't use the slider but the events do fire!&lt;/p&gt;
&lt;p&gt;Please Jesse, could you fix it for me?!&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ellis&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=65708" width="1" height="1"&gt;</description></item><item><title>re: Beta 2 Event Bubbling</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/03/beta-2-event-bubbling.aspx#60843</link><pubDate>Fri, 13 Jun 2008 07:51:19 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:60843</guid><dc:creator>brauliod</dc:creator><description>&lt;p&gt;Jesse,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Mmmm... I used the OnLButtonDown in the root canvas to perform drag and drop operations, now this doesn't work.&lt;/p&gt;
&lt;p&gt; &amp;nbsp;As workarounds I have tought:&lt;/p&gt;
&lt;p&gt; &amp;nbsp;- Convert all my textblocks to textboxes and subscribe to the Left Button Down event, but.. can I easily or manually resend the message to the root canvas?&lt;/p&gt;
&lt;p&gt; &amp;nbsp;- A nasty trick is to place a transparent area, ... like we have done with the nasty HTML DIV's... but I think there must be a cleaner solution.&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Thanks,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Braulio&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=60843" width="1" height="1"&gt;</description></item><item><title>re: Beta 2 Event Bubbling</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/03/beta-2-event-bubbling.aspx#59172</link><pubDate>Tue, 10 Jun 2008 07:23:57 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:59172</guid><dc:creator>Lyynx</dc:creator><description>&lt;p&gt;When I wire up a MouseLeftButtonDown event to a slider control the event is not raised when I click the button. Is this because the container it is in is handling the event?&lt;/p&gt;
&lt;p&gt;My code no longer works;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;theSlider.MouseLeftButtonDown += new MouseButtonEventHandler(theSlider_MouseLeftButtonDown);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;theSlider.MouseEnter += new MouseEventHandler(theSlider_MouseEnter);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;theSlider.ValueChanged +=new RoutedPropertyChangedEventHandler&amp;lt;double&amp;gt;(theSlider_ValueChanged);&lt;/p&gt;
&lt;p&gt;Will test the theory that something else is handling the event first. &lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Stephen&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=59172" width="1" height="1"&gt;</description></item><item><title>Beta 2 Event Bubbling</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/03/beta-2-event-bubbling.aspx#57602</link><pubDate>Fri, 06 Jun 2008 02:26:45 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:57602</guid><dc:creator>Beta 2 Event Bubbling</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Beta 2 Event Bubbling&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=57602" width="1" height="1"&gt;</description></item><item><title>re: Beta 2 Event Bubbling</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/03/beta-2-event-bubbling.aspx#57219</link><pubDate>Wed, 04 Jun 2008 17:12:35 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:57219</guid><dc:creator>kamii47</dc:creator><description>&lt;p&gt;Is there any news about Expression blend 2.5 new beta &lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=57219" width="1" height="1"&gt;</description></item><item><title>Dew Drop &amp;ndash; June 4, 2008 | Alvin Ashcraft's Morning Dew</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/03/beta-2-event-bubbling.aspx#57141</link><pubDate>Wed, 04 Jun 2008 12:39:57 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:57141</guid><dc:creator>Dew Drop – June 4, 2008 | Alvin Ashcraft's Morning Dew</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Dew Drop &amp;amp;ndash; June 4, 2008 | Alvin Ashcraft's Morning Dew&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=57141" width="1" height="1"&gt;</description></item><item><title>re: Beta 2 Event Bubbling</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/03/beta-2-event-bubbling.aspx#57140</link><pubDate>Wed, 04 Jun 2008 12:39:39 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:57140</guid><dc:creator>jesseliberty</dc:creator><description>&lt;p&gt;&amp;gt;&amp;gt; can we *see* the list of new features too &amp;lt;&amp;lt;&lt;/p&gt;
&lt;p&gt;The minute I have a comprehensive list, I will publish it or a link to it.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=57140" width="1" height="1"&gt;</description></item><item><title>Silverlight 2 - Beta 2 arrives this week!</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/03/beta-2-event-bubbling.aspx#57035</link><pubDate>Wed, 04 Jun 2008 02:06:43 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:57035</guid><dc:creator>Page Brooks</dc:creator><description>&lt;p&gt;Silverlight 2 - Beta 2 arrives this week!&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=57035" width="1" height="1"&gt;</description></item><item><title>re: Beta 2 Event Bubbling</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/03/beta-2-event-bubbling.aspx#57026</link><pubDate>Wed, 04 Jun 2008 00:09:07 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:57026</guid><dc:creator>chris_vickerson</dc:creator><description>&lt;p&gt;can we *see* the list of new features too? :D&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=57026" width="1" height="1"&gt;</description></item><item><title>re: Beta 2 Event Bubbling</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/03/beta-2-event-bubbling.aspx#56993</link><pubDate>Tue, 03 Jun 2008 20:03:18 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:56993</guid><dc:creator>johnnystock</dc:creator><description>&lt;p&gt;That does make more sense to me now. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I eagerly await more Beta 2 information as well (as well as a keyboard that corrects my spelling on the fly, that one may have to wait longer though)&lt;/p&gt;
&lt;p&gt;:)&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=56993" width="1" height="1"&gt;</description></item></channel></rss>