<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Updated Tilt Effect</title><link>http://blogs.msdn.com/b/ptorr/archive/2010/08/11/updated-tilt-effect.aspx</link><description>Jeff has posted a version of the Windows Phone 7 &amp;ldquo;tilt&amp;rdquo; effect that is packaged as a control, built by Luke. It&amp;rsquo;s only fair that I update my tilt code too &amp;ndash; it uses the same attached property implementation as my previous tilt</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Updated Tilt Effect</title><link>http://blogs.msdn.com/b/ptorr/archive/2010/08/11/updated-tilt-effect.aspx#10066931</link><pubDate>Thu, 23 Sep 2010 18:38:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10066931</guid><dc:creator>Peter Torr - MSFT</dc:creator><description>&lt;p&gt;Thanks Beave. For the &amp;quot;tilt happens while scrolling&amp;quot; issue, yes that is inconsistent with the 1st-party apps. It should not show the effect if the list is scrolling. I have a few ideas about how to solve that; you could try building something based on the sample at &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/b/ptorr/archive/2010/07/23/how-to-detect-when-a-list-is-scrolling-or-not.aspx"&gt;blogs.msdn.com/.../how-to-detect-when-a-list-is-scrolling-or-not.aspx&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;As for the touch-and-hold case not selecting an item, that is by-design (even without tilt). Typically an application would use this to show a context menu without actually selecting the item.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10066931" width="1" height="1"&gt;</description></item><item><title>re: Updated Tilt Effect</title><link>http://blogs.msdn.com/b/ptorr/archive/2010/08/11/updated-tilt-effect.aspx#10066746</link><pubDate>Thu, 23 Sep 2010 14:28:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10066746</guid><dc:creator>Beave</dc:creator><description>&lt;p&gt;Great stuff! I&amp;#39;m going to use this a lot. &lt;/p&gt;
&lt;p&gt;The listbox version is not perfect yet though, ie. the mentioned scroll effect above and if I press an unselected item for a few seconds it won&amp;#39;t get selected after I release the item. The previously selected item stays selected. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10066746" width="1" height="1"&gt;</description></item><item><title>re: Updated Tilt Effect</title><link>http://blogs.msdn.com/b/ptorr/archive/2010/08/11/updated-tilt-effect.aspx#10064804</link><pubDate>Sun, 19 Sep 2010 23:21:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10064804</guid><dc:creator>Peter Torr - MSFT</dc:creator><description>&lt;p&gt;Hi Jobi, I did a quick test on the Samsung prototype device (using DateTime.Now at the beginning and end of the function, then subtracting the difference). When a tilt was &amp;quot;successful&amp;quot; (found a tiltable item and computed the tilt centre) it was between 3 and 5 ms; when there was no successful tilt it was 0ms. Note the very first time you tap somewhere it takes about 70 - 80ms while the code is JTted etc.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10064804" width="1" height="1"&gt;</description></item><item><title>re: Updated Tilt Effect</title><link>http://blogs.msdn.com/b/ptorr/archive/2010/08/11/updated-tilt-effect.aspx#10064592</link><pubDate>Sat, 18 Sep 2010 23:31:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10064592</guid><dc:creator>Bert Lagaisse</dc:creator><description>&lt;p&gt;I got one word for this: &lt;/p&gt;
&lt;p&gt; GREATSUPERTHANKSWONDERFUL !&lt;/p&gt;
&lt;p&gt;Integrating the effect in my app took 5 minutes and spices it up with a factor 10.&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10064592" width="1" height="1"&gt;</description></item><item><title>re: Updated Tilt Effect</title><link>http://blogs.msdn.com/b/ptorr/archive/2010/08/11/updated-tilt-effect.aspx#10064519</link><pubDate>Sat, 18 Sep 2010 16:45:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10064519</guid><dc:creator>Jobi</dc:creator><description>&lt;p&gt;Just wondering have you had any measures of the cost for the &amp;#39;TryStartTiltEffect(FrameworkElement source, ManipulationStartedEventArgs e)&amp;#39; function. We have added this to PhoneApplicationFrame at App.xaml.cs ,TiltEffect.SetIsTiltEnabled(RootFrame, true);&lt;/p&gt;
&lt;p&gt;And for every click or manipulation TryStartTitleEffect loop is working. I am wondering if that causes a lot of CPU cycles. Just wanted to get an idea of minimizing that function call unnecessarly because it has VisualTree parsing as well as two foreach loops working for every manipulation and clicks. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10064519" width="1" height="1"&gt;</description></item><item><title>re: Updated Tilt Effect</title><link>http://blogs.msdn.com/b/ptorr/archive/2010/08/11/updated-tilt-effect.aspx#10063894</link><pubDate>Fri, 17 Sep 2010 10:37:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10063894</guid><dc:creator>Dave Hamilton</dc:creator><description>&lt;p&gt;Hi, I have just implemnted this on our app, and in general, it all works fine. &amp;nbsp;I have one issue, and it may actually be the same one that Mark (above) is experiencing, but I would just like some clairifcation.&lt;/p&gt;
&lt;p&gt;I have a listbox, that uses a combination of both the selecteditemchanged, and leftmousebuttonup events. &amp;nbsp;Everything works fine when the listbox is not scrolling, I press an item, the tilteffect happens, and the item shows as being selected.&lt;/p&gt;
&lt;p&gt;However, when the listbox is still scrolling, it shows the tilt effect, and stops the scroll, but no item is selected. &amp;nbsp;In all honesty, when i don&amp;#39;t have the animations, this is still the same (scrolling stops, and no item selected), however, now that the tilteffect is active, it emphasises this fact. &amp;nbsp;Is it possible to disable while scrolling, or it this the expected behaviour?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10063894" width="1" height="1"&gt;</description></item><item><title>re: Updated Tilt Effect</title><link>http://blogs.msdn.com/b/ptorr/archive/2010/08/11/updated-tilt-effect.aspx#10058218</link><pubDate>Sun, 05 Sep 2010 06:25:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10058218</guid><dc:creator>Peter Torr - MSFT</dc:creator><description>&lt;p&gt;Hi Mark, typically if an event doesn&amp;#39;t work directly you can get it by using the AddHandler method with the handledEventsToo parameter set to true. That said, you should probably avoid LeftButtonUp and use ManipulationCompleted instead (although the same caveat may still apply).&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10058218" width="1" height="1"&gt;</description></item><item><title>re: Updated Tilt Effect</title><link>http://blogs.msdn.com/b/ptorr/archive/2010/08/11/updated-tilt-effect.aspx#10058202</link><pubDate>Sun, 05 Sep 2010 03:05:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10058202</guid><dc:creator>Mark Pitman</dc:creator><description>&lt;p&gt;After applying this attached property, my MouseLeftButtonUp eventhandler no longer fires. Any workarounds or equivalent event I could handle instead?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10058202" width="1" height="1"&gt;</description></item><item><title>re: Updated Tilt Effect</title><link>http://blogs.msdn.com/b/ptorr/archive/2010/08/11/updated-tilt-effect.aspx#10056118</link><pubDate>Tue, 31 Aug 2010 04:53:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10056118</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;Very cool, thanks!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10056118" width="1" height="1"&gt;</description></item><item><title>Creating List Picker for WP7.</title><link>http://blogs.msdn.com/b/ptorr/archive/2010/08/11/updated-tilt-effect.aspx#10056142</link><pubDate>Tue, 31 Aug 2010 03:02:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10056142</guid><dc:creator>Alex Yakhnin's Blog</dc:creator><description>&lt;p&gt;For the application that I am working on right now I needed a control that would allow a user to select&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10056142" width="1" height="1"&gt;</description></item></channel></rss>