<?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>DevDave - Dave Relyea's Silverlight Blog - All Comments</title><link>http://blogs.msdn.com/b/devdave/</link><description>Silverlight Phone and Rich Client Development</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Customizing a ToolTip</title><link>http://blogs.msdn.com/b/devdave/archive/2008/10/18/customizing-a-tooltip.aspx#10405035</link><pubDate>Mon, 25 Mar 2013 10:15:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10405035</guid><dc:creator>aaa</dc:creator><description>&lt;p&gt;In Azure as IaaS (Infrastructure as a service) model, dedicated VMs are assigned to you with full control over O/S, updates etc. Generally used for application development, testing and IT operations.&lt;/p&gt;
&lt;p&gt;In Azure as PaaS(Platform as a service) model, Azure controls the VM instance and maintains the environment(O/S, updates etc.), while you are just concerned about your application.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10405035" width="1" height="1"&gt;</description></item><item><title>re: DiscreteSlider - Adding Functionality with a Simple Control Subclass</title><link>http://blogs.msdn.com/b/devdave/archive/2008/06/12/discreteslider-a-simple-control-subclass.aspx#10334529</link><pubDate>Sun, 29 Jul 2012 11:15:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10334529</guid><dc:creator>Andy Brodie</dc:creator><description>&lt;p&gt;Toto&amp;#39;s solution works for dragging the slider, but on Windows Phone Mango, clicking on the slider bar to move by SmallValue doesn&amp;#39;t work properly, the slider stays where it is but the value changes. &amp;nbsp;To fix this, I changed the comparison line like this:&lt;/p&gt;
&lt;p&gt;if (newDiscreteValue!=Value || Value!=oldValue)&lt;/p&gt;
&lt;p&gt;This allowed me to drag the slider as well as click to the left or right to change the value.&lt;/p&gt;
&lt;p&gt;Additionally, if you want to avoid comparison two floats for inequality:&lt;/p&gt;
&lt;p&gt;if (Math.Abs(newDiscreteValue - Value) &amp;gt; 0.000001 || Math.Abs(Value - oldValue) &amp;gt; 0.000001)&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve no idea whether 0.000001 is the &amp;quot;right&amp;quot; value, it just worked for me :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10334529" width="1" height="1"&gt;</description></item><item><title>re: DiscreteSlider - Adding Functionality with a Simple Control Subclass</title><link>http://blogs.msdn.com/b/devdave/archive/2008/06/12/discreteslider-a-simple-control-subclass.aspx#10309767</link><pubDate>Thu, 24 May 2012 07:16:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10309767</guid><dc:creator>Toto</dc:creator><description>&lt;p&gt;Confirmed that it behaves the way vienigais describes. It&amp;#39;s easy to correct though.&lt;/p&gt;
&lt;p&gt;Change the line &lt;/p&gt;
&lt;p&gt;if (newDiscreteValue != m_discreteValue)&lt;/p&gt;
&lt;p&gt;into&lt;/p&gt;
&lt;p&gt;if (newDiscreteValue != Value)&lt;/p&gt;
&lt;p&gt;and it behaves correctly..&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10309767" width="1" height="1"&gt;</description></item><item><title>re: A better Slider for Windows Phone 7</title><link>http://blogs.msdn.com/b/devdave/archive/2010/10/04/a-better-slider-for-windows-phone-7.aspx#10258843</link><pubDate>Fri, 20 Jan 2012 14:28:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10258843</guid><dc:creator>giacoder</dc:creator><description>&lt;p&gt;Just for info:&lt;/p&gt;
&lt;p&gt;Regarding issue of Jaybo, Joe, James, and Paul.&lt;/p&gt;
&lt;p&gt;I had the same thing and solved it with advice from MarkChamberlain post 1/6/2011 1:19 AM from &lt;a rel="nofollow" target="_new" href="http://forums.create.msdn.com/forums/p/71553/436721.aspx"&gt;forums.create.msdn.com/.../436721.aspx&lt;/a&gt; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;which is &amp;nbsp;&amp;quot;Not use the GestureService and use TouchPanel directly instead (GS is just a wrapper around TP)&amp;quot;.&lt;/p&gt;
&lt;p&gt;How to use TouchPanel you may find here &lt;a rel="nofollow" target="_new" href="http://www.nickharris.net/2010/11/using-touchpanel-for-gestures-in-windows-phone-7/"&gt;www.nickharris.net/.../using-touchpanel-for-gestures-in-windows-phone-7&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10258843" width="1" height="1"&gt;</description></item><item><title>re: Customizing a ToolTip</title><link>http://blogs.msdn.com/b/devdave/archive/2008/10/18/customizing-a-tooltip.aspx#10230921</link><pubDate>Fri, 28 Oct 2011 07:18:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10230921</guid><dc:creator>Saravanan</dc:creator><description>&lt;p&gt;How to set Contorl&amp;#39;s Height / Width / Watermark as ToolTipService.ToolTip=&amp;quot;{}&amp;quot; ?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10230921" width="1" height="1"&gt;</description></item><item><title>re: A better Slider for Windows Phone 7</title><link>http://blogs.msdn.com/b/devdave/archive/2010/10/04/a-better-slider-for-windows-phone-7.aspx#10213351</link><pubDate>Mon, 19 Sep 2011 08:27:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10213351</guid><dc:creator>Aditya</dc:creator><description>&lt;p&gt;Hi Dave,&lt;/p&gt;
&lt;p&gt;Thanks for the post. It really helped in using a better slider in my application. &lt;/p&gt;
&lt;p&gt;I have a requirement of placing two sliders in a same row grid. &lt;/p&gt;
&lt;p&gt;But I am facing a small problem when i use two sliders in a same row of my &amp;quot;slider grid&amp;quot;.&lt;/p&gt;
&lt;p&gt;Only the second slider moves, even when i try to move the first slider?&lt;/p&gt;
&lt;p&gt;It very strange i am unable to understand how the even of 1st slider goes to second one :( &lt;/p&gt;
&lt;p&gt;Can you please help me?&lt;/p&gt;
&lt;p&gt;Thanks once again!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10213351" width="1" height="1"&gt;</description></item><item><title>re: A better Slider for Windows Phone 7</title><link>http://blogs.msdn.com/b/devdave/archive/2010/10/04/a-better-slider-for-windows-phone-7.aspx#10194537</link><pubDate>Wed, 10 Aug 2011 16:38:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10194537</guid><dc:creator>giacoder</dc:creator><description>&lt;p&gt;Thank you Dave! Great slider. It teached me how to make a usercontrol from another control!&lt;/p&gt;
&lt;p&gt;But can you tell one thing?&lt;/p&gt;
&lt;p&gt;I have horizontal slider as one of ScrollViewer child. If first touch position while I am scrolling was on a slider, Viewer is not scrolled and value of a slider is changing. &lt;/p&gt;
&lt;p&gt;Can I add something like checking of dragging X and Y and react only X &amp;gt; Y for horizontal slider and Y &amp;gt; X for vertical? Otherwise to &amp;quot;pass action&amp;quot; (?) &amp;nbsp;to a parent (for example ScrollViewer).&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10194537" width="1" height="1"&gt;</description></item><item><title>re: Pixel Snapping - the Snapper Element</title><link>http://blogs.msdn.com/b/devdave/archive/2008/05/26/pixel-snapping-the-snapper-element.aspx#10188980</link><pubDate>Fri, 22 Jul 2011 15:44:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10188980</guid><dc:creator>Nick</dc:creator><description>&lt;p&gt;The class works great, thanks! &amp;nbsp;However, it crashes design view. &amp;nbsp;Add this code to resolve&lt;/p&gt;
&lt;p&gt;if (DesignerProperties.GetIsInDesignMode((FrameworkElement)Content))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10188980" width="1" height="1"&gt;</description></item><item><title>re: Panorama Tricks – Using WrapPanel in wide PanoramaItems</title><link>http://blogs.msdn.com/b/devdave/archive/2010/09/17/panorama-tricks-using-wrappanel.aspx#10182293</link><pubDate>Fri, 01 Jul 2011 10:26:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10182293</guid><dc:creator>LukePuplett</dc:creator><description>&lt;p&gt;Thanks for posting this, Dave. Very useful.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10182293" width="1" height="1"&gt;</description></item><item><title>re: Control Lifecycle</title><link>http://blogs.msdn.com/b/devdave/archive/2008/10/11/control-lifecycle.aspx#10152050</link><pubDate>Mon, 11 Apr 2011 13:49:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10152050</guid><dc:creator>Jan Slodicka</dc:creator><description>&lt;p&gt;Just wanted to report the event sequence on WP7 (Silverlight 3):&lt;/p&gt;
&lt;p&gt;1. OnApplyTemplate(), 2. SizeChanged, 3. LayoutUpdated, 4. Loaded&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10152050" width="1" height="1"&gt;</description></item></channel></rss>