<?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>Designer Silverlight &#187; Silverlight 3</title>
	<atom:link href="http://www.designersilverlight.com/category/silverlight-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designersilverlight.com</link>
	<description>Matthias Shapiro's Silverlight &#38; WPF Blog - Because Developers Get All The Good Blogs</description>
	<lastBuildDate>Thu, 26 Jan 2012 06:45:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Fixing the ListPicker / ScrollViewer Problem in Windows Phone 7</title>
		<link>http://www.designersilverlight.com/2010/11/30/fixing-the-listpicker-scrollviewer-problem-in-windows-phone-7/</link>
		<comments>http://www.designersilverlight.com/2010/11/30/fixing-the-listpicker-scrollviewer-problem-in-windows-phone-7/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 04:55:21 +0000</pubDate>
		<dc:creator>Matthias Shapiro</dc:creator>
				<category><![CDATA[c#]]></category>
		<category><![CDATA[ScrollViewer]]></category>
		<category><![CDATA[Silverlight 3]]></category>
		<category><![CDATA[Windows Phone 7]]></category>
		<category><![CDATA[ListPicker]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Windows Phone Toolkit]]></category>
		<category><![CDATA[WP7]]></category>

		<guid isPermaLink="false">http://www.designersilverlight.com/?p=1152</guid>
		<description><![CDATA[I&#8217;m working on a new project in which I need multiple ListPickers in a ScrollViewer. The ListPicker is available via the Silverlight Toolkit for Windows Phone 7. If you don&#8217;t have it, you should get it. Get the source as well, for reasons that will be clear in one more sentence. The only problem is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a new project in which I need multiple ListPickers in a ScrollViewer. </p>
<p>The ListPicker is available via the Silverlight Toolkit for Windows Phone 7. If you don&#8217;t have it, you should get it. Get the source as well, for reasons that will be clear in one more sentence. </p>
<p>The only problem is that I can&#8217;t scroll if I do this because I run the risk of accidentally opening the ListPicker (which should be a tap interaction) when swiping (which is a gesture interaction):</p>
<p><iframe src="http://player.vimeo.com/video/17299947" width="360" height="600" frameborder="0"></iframe></p>
<p>I posted this as <a href="http://silverlight.codeplex.com/workitem/7779">a work item on codeplex</a>, so it will probably be fixed in a couple months (sometime in early 2011), but if you&#8217;re having a problem with it, do the following:</p>
<p>Open up the source, go to the Microsoft.Phone.Controls.Toolkit project, the ListPicker folder and open the ListPicker.cs file. Go down to the OnManipulationCompleted event and after the line</p>
<p>base.OnManipulationCompleted(e);</p>
<p>add the following conditional for the rest of the code in the method:</p>
<p>if ((Math.Abs(e.TotalManipulation.Translation.X) < 20) &#038;&#038; (Math.Abs(e.TotalManipulation.Translation.Y) < 20)){<br />
[Other code]<br />
}</p>
<p>This catches manipulations that are less tap-y and more scroll-y and lets them slide by without opening the ListPicker. If you wanted to be really careful, you could probably change the conditional to 10 or even 5. Most of the taps I checked had pretty small (single digit) manipulation deltas.</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.designersilverlight.com/2010/11/30/fixing-the-listpicker-scrollviewer-problem-in-windows-phone-7/&amp;layout=standard&amp;show_faces=1&amp;width=450&amp;action=like&amp;colorscheme=light&amp;font=" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:25px"></iframe><div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Fixing+the+ListPicker+%2F+ScrollViewer+Problem+in+Windows+Phone+7+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D1152" title="Post to Twitter"><img class="nothumb" src="http://www.designersilverlight.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Fixing+the+ListPicker+%2F+ScrollViewer+Problem+in+Windows+Phone+7+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D1152" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.designersilverlight.com/2010/11/30/fixing-the-listpicker-scrollviewer-problem-in-windows-phone-7/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Basic Windows Phone 7 Motion Design</title>
		<link>http://www.designersilverlight.com/2010/11/16/basic-windows-phone-7-motion-design/</link>
		<comments>http://www.designersilverlight.com/2010/11/16/basic-windows-phone-7-motion-design/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 06:32:55 +0000</pubDate>
		<dc:creator>Matthias Shapiro</dc:creator>
				<category><![CDATA[Animation]]></category>
		<category><![CDATA[Motion Design]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight 3]]></category>
		<category><![CDATA[Windows Phone 7]]></category>
		<category><![CDATA[XAML]]></category>
		<category><![CDATA[motion design]]></category>
		<category><![CDATA[Transitions]]></category>
		<category><![CDATA[Windows Phone Toolkit]]></category>

		<guid isPermaLink="false">http://www.designersilverlight.com/2010/11/16/basic-windows-phone-7-motion-design/</guid>
		<description><![CDATA[Click here if you don’t want to hear me complain about the Silverlight toolkit and you just want to get to the animations. If you are like me, you’re working on Windows Phone 7 applications in your pajamas, subsisting on pork jerky and Coke Zero and dreaming of that one project that will make you [...]]]></description>
			<content:encoded><![CDATA[<p><a href="#skip">Click here if you don’t want to hear me complain about the Silverlight toolkit and you just want to get to the animations.</a></p>
<p>If you are like me, you’re working on Windows Phone 7 applications in your pajamas, subsisting on pork jerky and Coke Zero and dreaming of that one project that will make you richer than your wildest dreams while begging Dell to actually announce some kind of release date for the Dell Venue Pro.</p>
<p>But I suspect that we have less in common. In fact, the only thing we probably have in common is a desire to know how to actually replicate the Windows Phone 7 motion design.</p>
<p>That and our breathtaking good looks.</p>
<p>But back to the motion design. If you download the Silverlight Windows Phone toolkit source code, download and run it, you’ll see some animations that look kind of like the animations on the phone but not really. There are a couple of reasons for this.</p>
<p><strong>Reason #1</strong> – The easing functions have been placed on the wrong keyframes in the toolkit. They should be placed on the second keyframe, but they are on the first keyframe. This, of course, doesn’t make any sense since there is nothing to ease in the first keyframe, so I suspect it is some kind of transcription error.</p>
<p><strong>Reason #2</strong> – The easing function is an exponential one. Not a problem, pretty normal. But its exponent is 15. To give you a good idea of what that kind of “easing” looks like, here is the Blend representation of an exponent 15 easing:</p>
<p><a href="#skip"></a><a href="http://www.designersilverlight.com/wp-content/uploads/2010/11/image.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.designersilverlight.com/wp-content/uploads/2010/11/image_thumb.png" border="0" alt="image" width="175" height="143" /></a></p>
<p>It’s basically like cutting the animation time by two thirds. In contrast, here is the function with an exponent 5 easing:</p>
<p><a href="http://www.designersilverlight.com/wp-content/uploads/2010/11/image1.png"><img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" src="http://www.designersilverlight.com/wp-content/uploads/2010/11/image_thumb1.png" border="0" alt="image" width="179" height="143" /></a></p>
<p>Much ease-ier (get it?).</p>
<p><a name="skip"></a><br />
OK… enough about the Silverlight toolkit. You want to actually know how to write animations that approximate Windows Phone 7, right?</p>
<p>I currently have no phone, so I can’t study the animations in the closest detail (waiting for the Dell Venue Pro), but here is what I’ve gathered from the Silverlight toolkit and what I can see in the emulator:</p>
<h3>“In” animations</h3>
<p>When some UI component is appearing, we would use an “In” animation. “In” animations are a shade longer than “Out” animations. I assume this is to help the users’ eyes adjust to the new UI.</p>
<p>To the best of my knowledge, “In” animations:</p>
<ul>
<li>are .35 seconds long</li>
<li>use exponential 5 easing</li>
</ul>
<h3>“Out” animations</h3>
<p>When a UI component is exiting (either through navigation or due to the lack of need for it) we use an “Out” animation. Their shorter length leave the user with the impression of speed when they want to get to the next UI.</p>
<p>“Out” animations:</p>
<ul>
<li>are .25 seconds long</li>
<li>use exponential 5 easing</li>
</ul>
<p>OK… now on to some XAML:</p>
<h3>Turnstile Animations:</h3>
<p>This is when the screen-wide UI turns on its left-hand edge, such as when the user opens an application.</p>
<h3>Turnstile Forward In</h3>
<div id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:f2d037ca-338a-4ad4-92de-f8df37aa63bd" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt;">
<div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px;">Turnstile Forward In</div>
<div style="background: #ddd; max-height: 400px; overflow: auto;">
<ol style="background: #ffffff; margin: 0 0 0 2em; padding: 0 0 0 5px;">
<li><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #ff0000;"> Storyboard.TargetProperty</span><span style="color: #0000ff;">=&#8221;(UIElement.Projection).(PlaneProjection.RotationY)&#8221;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;-80&#8243; /&gt;</span><span style="color: #a31515;"> </span></li>
<li> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0:0:0.35&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;0&#8243;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">ExponentialEase</span><span style="color: #ff0000;"> EasingMode</span><span style="color: #0000ff;">=&#8221;EaseOut&#8221;</span><span style="color: #ff0000;"> Exponent</span><span style="color: #0000ff;">=&#8221;5&#8243;/&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #0000ff;">&gt;</span></li>
<li style="background: #f3f3f3;"><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #0000ff;">&gt;</span></li>
</ol>
</div>
</div>
</div>
<h3>Turnstile Forward Out</h3>
<div id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:7f806082-56e7-4d58-9169-3066afa60233" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt;">
<div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px;">Turnstile Forward Out</div>
<div style="background: #ddd; max-height: 300px; overflow: auto;">
<ol style="background: #ffffff; margin: 0 0 0 2em; padding: 0 0 0 5px;">
<li><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #ff0000;"> Storyboard.TargetProperty</span><span style="color: #0000ff;">=&#8221;(UIElement.Projection).(PlaneProjection.RotationY)&#8221;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;0&#8243; /&gt;</span></li>
<li> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0:0:0.25&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;50&#8243;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">ExponentialEase</span><span style="color: #ff0000;"> EasingMode</span><span style="color: #0000ff;">=&#8221;EaseIn&#8221;</span><span style="color: #ff0000;"> Exponent</span><span style="color: #0000ff;">=&#8221;5&#8243;/&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #0000ff;">&gt;</span></li>
<li style="background: #f3f3f3;"><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #0000ff;">&gt;</span></li>
</ol>
</div>
</div>
</div>
<h3>Turnstile Backward In</h3>
<div id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:75663067-a3df-486b-bc19-e26beb242ab4" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt;">
<div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px;">Turnstile Backward In</div>
<div style="background: #ddd; max-height: 300px; overflow: auto;">
<ol style="background: #ffffff; margin: 0 0 0 2em; padding: 0 0 0 5px;">
<li><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #ff0000;"> Storyboard.TargetProperty</span><span style="color: #0000ff;">=&#8221;(UIElement.Projection).(PlaneProjection.RotationY)&#8221;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;50&#8243; /&gt;</span></li>
<li> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0:0:0.35&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;0&#8243;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">ExponentialEase</span><span style="color: #ff0000;"> EasingMode</span><span style="color: #0000ff;">=&#8221;EaseOut&#8221;</span><span style="color: #ff0000;"> Exponent</span><span style="color: #0000ff;">=&#8221;5&#8243;/&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #0000ff;">&gt;</span></li>
<li style="background: #f3f3f3;"><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #0000ff;">&gt;</span></li>
</ol>
</div>
</div>
</div>
<h3>Turnstile Backward Out</h3>
<div id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:e8c36f31-dd00-4256-affc-c5be4df3f89a" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt;">
<div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px;">Code Snippet</div>
<div style="background: #ddd; max-height: 300px; overflow: auto;">
<ol style="background: #ffffff; margin: 0 0 0 2em; padding: 0 0 0 5px;">
<li><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #ff0000;"> Storyboard.TargetProperty</span><span style="color: #0000ff;">=&#8221;(UIElement.Projection).(PlaneProjection.RotationY)&#8221;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;0&#8243; /&gt;</span></li>
<li> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0:0:0.25&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;-80&#8243;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">ExponentialEase</span><span style="color: #ff0000;"> EasingMode</span><span style="color: #0000ff;">=&#8221;EaseIn&#8221;</span><span style="color: #ff0000;"> Exponent</span><span style="color: #0000ff;">=&#8221;5&#8243;/&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #0000ff;">&gt;</span></li>
<li style="background: #f3f3f3;"><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #0000ff;">&gt;</span></li>
</ol>
</div>
</div>
</div>
<h3>Slide Animations</h3>
<p>We see these animations in things like creating new e-mails. They seem to be used when the user is doing some task that fits within the context of the screen they are already on. Slide animations use an opacity animation combined with a horizontal or vertical animation.</p>
<p>Slide animations use the same .25 seconds on animate out and .35 seconds on animate in and, according to the toolkit, the UI slides 200 pixels in whatever direction it is sliding.</p>
<p>Here is a sample Slide Up and Slide Down animation:</p>
<h3>Slide Up Fade In animation</h3>
<div id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:00711d28-e7ce-4a28-b339-9eb7d0b7e6e8" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt;">
<div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px;">Slide Up Fade In</div>
<div style="background: #ddd; max-height: 300px; overflow: auto;">
<ol style="background: #ffffff; margin: 0 0 0 2.5em; padding: 0 0 0 5px;">
<li><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #ff0000;"> Storyboard.TargetProperty</span><span style="color: #0000ff;">=&#8221;(UIElement.RenderTransform).(TranslateTransform.Y)&#8221;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;200&#8243; /&gt;</span></li>
<li> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0:0:0.35&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;0&#8243;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">ExponentialEase</span><span style="color: #ff0000;"> EasingMode</span><span style="color: #0000ff;">=&#8221;EaseOut&#8221;</span><span style="color: #ff0000;"> Exponent</span><span style="color: #0000ff;">=&#8221;5&#8243;/&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #0000ff;">&gt;</span></li>
<li style="background: #f3f3f3;"><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #0000ff;">&gt;</span></li>
<li><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #ff0000;"> Storyboard.TargetProperty</span><span style="color: #0000ff;">=&#8221;(UIElement.Opacity)&#8221;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;0&#8243; /&gt;</span></li>
<li> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0:0:0.35&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;1&#8243;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">ExponentialEase</span><span style="color: #ff0000;"> EasingMode</span><span style="color: #0000ff;">=&#8221;EaseOut&#8221;</span><span style="color: #ff0000;"> Exponent</span><span style="color: #0000ff;">=&#8221;5&#8243;/&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #0000ff;">&gt;</span></li>
<li style="background: #f3f3f3;"><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #0000ff;">&gt;</span></li>
</ol>
</div>
</div>
</div>
<h3>Slide Down Fade Our animation</h3>
<div id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:fa5064a6-04ce-4b58-989b-2efab6638972" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt;">
<div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px;">Code Snippet</div>
<div style="background: #ddd; max-height: 300px; overflow: auto;">
<ol style="background: #ffffff; margin: 0 0 0 2.5em; padding: 0 0 0 5px;">
<li><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #ff0000;"> Storyboard.TargetProperty</span><span style="color: #0000ff;">=&#8221;(UIElement.RenderTransform).(TranslateTransform.Y)&#8221;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;0&#8243; /&gt;</span></li>
<li> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0:0:0.25&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;200&#8243;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">ExponentialEase</span><span style="color: #ff0000;"> EasingMode</span><span style="color: #0000ff;">=&#8221;EaseOut&#8221;</span><span style="color: #ff0000;"> Exponent</span><span style="color: #0000ff;">=&#8221;5&#8243;/&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #0000ff;">&gt;</span></li>
<li style="background: #f3f3f3;"><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #0000ff;">&gt;</span></li>
<li><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #ff0000;"> Storyboard.TargetProperty</span><span style="color: #0000ff;">=&#8221;(UIElement.Opacity)&#8221;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #a31515;"> </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;1&#8243; /&gt;</span></li>
<li> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #ff0000;"> KeyTime</span><span style="color: #0000ff;">=&#8221;0:0:0.25&#8243;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;0&#8243;&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">ExponentialEase</span><span style="color: #ff0000;"> EasingMode</span><span style="color: #0000ff;">=&#8221;EaseOut&#8221;</span><span style="color: #ff0000;"> Exponent</span><span style="color: #0000ff;">=&#8221;5&#8243;/&gt;</span></li>
<li style="background: #f3f3f3;"> <span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame.EasingFunction</span><span style="color: #0000ff;">&gt;</span></li>
<li> <span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">EasingDoubleKeyFrame</span><span style="color: #0000ff;">&gt;</span></li>
<li style="background: #f3f3f3;"><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">DoubleAnimationUsingKeyFrames</span><span style="color: #0000ff;">&gt;</span></li>
</ol>
</div>
</div>
</div>
<p>Coming soon… swivel animations and rotate animations… I’m not totally certain on what I’m seeing in the toolkit. It doesn’t seem to jive with what I&#8217;m seeing from the phone. I may wait a few days until I get a phone and can dissect the motion design a  little bit more closely.</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.designersilverlight.com/2010/11/16/basic-windows-phone-7-motion-design/&amp;layout=standard&amp;show_faces=1&amp;width=450&amp;action=like&amp;colorscheme=light&amp;font=" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:25px"></iframe><div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Basic+Windows+Phone+7+Motion+Design+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D1110" title="Post to Twitter"><img class="nothumb" src="http://www.designersilverlight.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Basic+Windows+Phone+7+Motion+Design+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D1110" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.designersilverlight.com/2010/11/16/basic-windows-phone-7-motion-design/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>International UTF-8 Characters in Windows Phone 7 WebBrowser Control</title>
		<link>http://www.designersilverlight.com/2010/10/25/international-utf-8-characters-in-windows-phone-7-webbrowser-control/</link>
		<comments>http://www.designersilverlight.com/2010/10/25/international-utf-8-characters-in-windows-phone-7-webbrowser-control/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 03:43:11 +0000</pubDate>
		<dc:creator>Matthias Shapiro</dc:creator>
				<category><![CDATA[Silverlight 3]]></category>
		<category><![CDATA[Windows Phone 7]]></category>
		<category><![CDATA[Arabic]]></category>
		<category><![CDATA[ASCII]]></category>
		<category><![CDATA[Chinese]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[international text]]></category>
		<category><![CDATA[Japanese]]></category>
		<category><![CDATA[Korean]]></category>
		<category><![CDATA[Russian]]></category>
		<category><![CDATA[UTF-8]]></category>
		<category><![CDATA[WebBrowser Control]]></category>

		<guid isPermaLink="false">http://www.designersilverlight.com/2010/10/25/international-utf-8-characters-in-windows-phone-7-webbrowser-control/</guid>
		<description><![CDATA[I haven&#8217;t blogged for a while not because I haven&#8217;t had anything to say but because I felt I need time to triage all cool stuff I&#8217;ve been learning about Windows Phone 7 Silverlight development. However, one thing that I&#8217;ve learned cannot wait. That is support for international characters in the WebBrowser control. Basically, the [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t blogged for a while not because I haven&#8217;t had anything to say but because I felt I need time to triage all cool stuff I&#8217;ve been learning about Windows Phone 7 Silverlight development. However, one thing that I&#8217;ve learned cannot wait. That is support for international characters in the WebBrowser control. </p>
<p>Basically, the problem is as follows: We want to show HTML that uses international characters. The most straightforward way to show HTML in a Windows Phone 7 app is to use the WebBrowser control and the &quot;NavigateToString(string myString)” method to input the HTML. </p>
<p>However, when we hook international text (like Japanese, Arabic, Korean, Russian or Chinese characters) using this method, <font size="2">we get a mess. The following code:</font></p>
<pre class="code"><font face="Verdana"><font size="2"><span style="color: blue">string </span>testString = <span style="color: #a31515">&quot;&lt;html&gt;&lt;body&gt;日本列島の占領の最初の兆候が縄文時代で約14,000のBC、竪穴住居の中石器時代新石器時代に半定住狩猟採集文化と農業の初歩的なフォームから続いて、30,000年頃旧石器文化と登場しました。&lt;/body&gt;&lt;/html&gt;&quot;</span>;
BrowserControl.NavigateToString(testString);</font></font></pre>
<pre class="code"><font size="2" face="Verdana">produces the following result:</font></pre>
<p><a href="http://www.designersilverlight.com/wp-content/uploads/2010/10/image.png"><img style="background-image: none; border-right-width: 0px; margin: 5px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.designersilverlight.com/wp-content/uploads/2010/10/image_thumb.png" width="244" height="106" /></a></p>
<p>In case you’re not familiar with Japanese, this is not Japanese. This is, instead, the ASCII version of the Japanese characters we want to see. Why does it do this? I’m not sure. But my effort to show the actual international text in the WebBrowser control was met with tears time and time again.</p>
<p>Until I found <a href="http://www.aewnet.com/post/2010/09/19/Windows-Phone-7-Character-Testing.aspx">this post unhelpfully titled “Windows Phone 7 Character Testing…”</a>. Here the author gives us this extremely helpful method for delivering the string we need to show international characters:</p>
<pre class="code"><font face="Verdana"><font size="2"><span style="color: blue">private static string </span>ConvertExtendedASCII(<span style="color: blue">string </span>HTML)
{
    <span style="color: blue">string </span>retVal = <span style="color: #a31515">&quot;&quot;</span>;
    <span style="color: blue">char</span>[] s = HTML.ToCharArray();

    <span style="color: blue">foreach </span>(<span style="color: blue">char </span>c <span style="color: blue">in </span>s)
    {
        <span style="color: blue">if </span>(<span style="color: #2b91af">Convert</span>.ToInt32(c) &gt; 127)
            retVal += <span style="color: #a31515">&quot;&amp;#&quot; </span>+ <span style="color: #2b91af">Convert</span>.ToInt32(c) + <span style="color: #a31515">&quot;;&quot;</span>;
        </font></font><font face="Verdana"><font size="2"><span style="color: blue">else
            </span>retVal += c;
    }

    <span style="color: blue">return </span>retVal;
}
</font></font></pre>
<p>
  <br />With this in place, we can very simply run our string through the method to give us properly encoded HTML so that </p>
<p>BrowserControl.NavigateToString(ConvertExtendedASCII(testString));</p>
<p>gives us:<br />
  <br /><a href="http://www.designersilverlight.com/wp-content/uploads/2010/10/image1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.designersilverlight.com/wp-content/uploads/2010/10/image_thumb1.png" width="460" height="165" /></a></p>
<p>And we’re happy. Very happy.</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.designersilverlight.com/2010/10/25/international-utf-8-characters-in-windows-phone-7-webbrowser-control/&amp;layout=standard&amp;show_faces=1&amp;width=450&amp;action=like&amp;colorscheme=light&amp;font=" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:25px"></iframe><div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=International+UTF-8+Characters+in+Windows+Phone+7+WebBrowser+Control+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D1101" title="Post to Twitter"><img class="nothumb" src="http://www.designersilverlight.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=International+UTF-8+Characters+in+Windows+Phone+7+WebBrowser+Control+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D1101" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.designersilverlight.com/2010/10/25/international-utf-8-characters-in-windows-phone-7-webbrowser-control/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Using WrapPanel and DockPanel in Windows Phone 7 With Blend</title>
		<link>http://www.designersilverlight.com/2010/06/28/using-wrappanel-and-dockpanel-in-windows-phone-7-with-blend/</link>
		<comments>http://www.designersilverlight.com/2010/06/28/using-wrappanel-and-dockpanel-in-windows-phone-7-with-blend/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 04:30:59 +0000</pubDate>
		<dc:creator>Matthias Shapiro</dc:creator>
				<category><![CDATA[Blend]]></category>
		<category><![CDATA[Silverlight 3]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Windows Phone 7]]></category>
		<category><![CDATA[XAML]]></category>
		<category><![CDATA[DockPanel]]></category>
		<category><![CDATA[Panels]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[Windows Mobile]]></category>
		<category><![CDATA[WrapPanel]]></category>

		<guid isPermaLink="false">http://www.designersilverlight.com/2010/06/28/using-wrappanel-and-dockpanel-in-windows-phone-7-with-blend/</guid>
		<description><![CDATA[I’m currently working on porting the run-away hit mobile application ShopSavvy to Windows Phone 7 (sign up to be a beta tester) and one of the things I really wished I had was the WrapPanel. (For those who are new to Silverlight/WPF/Windows Phone 7, the WrapPanel stacks UI elements either horizontally or vertically like the [...]]]></description>
			<content:encoded><![CDATA[<p>I’m currently working on porting the run-away hit mobile application ShopSavvy to Windows Phone 7 (<a href="https://spur.wufoo.com/forms/shopsavvy-for-windows-phone-7/">sign up to be a beta tester</a>) and one of the things I really wished I had was the WrapPanel. </p>
<p>(For those who are new to Silverlight/WPF/Windows Phone 7, the WrapPanel stacks UI elements either horizontally or vertically like the StackPanel except that, when it hits the panel limit it… wait for it… wraps and starts stacking in a new column/row. Handy.)</p>
<p>I found a way to <a href="http://www.codebadger.com/blog/post/2010/03/20/Using-the-WrapPanel-from-the-Silverlight-Toolkit-on-Windows-Phone-7.aspx">add it with the Silverlight Toolkit</a>, but doing that added 140 Kb to my application. Maybe I’m just stuck in the world of J2ME, but adding 140 Kb to my mobile app isn’t OK if I can help it. I found <a href="http://www.designersilverlight.com/2010/06/28/using-wrappanel-and-dockpanel-in-windows-phone-7-with-blend/">this post from Jeff Wilcox</a> on adding the WrapPanel and that didn’t seem to work for me. (My comments are the whiny ones at the end of the post.)</p>
<p>But I finally got it working and I’ll tell you how. </p>
<p>Or I could just taunt you. That would be fun too. </p>
<p>Naw, I’m just kidding. Here’s the stuff you need.</p>
<p><a href="http://designersilverlight.com/wp-content/uploads/2010/06/WP7Panels.zip">Windows Phone 7 WrapPanel and DockPanel (Source</a>)</p>
<p><a href="http://designersilverlight.com/wp-content/uploads/2010/06/WP7PanelsDLL.zip">Windows Phone 7 WrapPanel and DockPanel (DLL)</a></p>
<p>All you have to do is download the DLL, unzip and reference in your app like so:</p>
<p>Right click on the “References” section of your project.</p>
<p><a href="http://www.designersilverlight.com/wp-content/uploads/2010/06/image.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.designersilverlight.com/wp-content/uploads/2010/06/image_thumb.png" width="232" height="63" /></a>&#160;</p>
<p>Select the WP7Panels DLL from whatever folder you put it in and see it show up in your References</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.designersilverlight.com/wp-content/uploads/2010/06/image_thumb1.png" width="280" height="186" /></p>
<p>Open up the “Assets” section and type “wrap” or “dock” the wrap-or-dock panel should show up. Double click it or drag it onto the canvas to add it to your app. Blend will take care of the rest of the namespaces and everything. </p>
<p><a href="http://www.designersilverlight.com/wp-content/uploads/2010/06/image1.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.designersilverlight.com/wp-content/uploads/2010/06/image_thumb2.png" width="338" height="121" /></a>&#160;</p>
<p>And start adding items to your panel. It should work the way it’s supposed to work.</p>
<p><a href="http://www.designersilverlight.com/wp-content/uploads/2010/06/image2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.designersilverlight.com/wp-content/uploads/2010/06/image_thumb3.png" width="175" height="217" /></a> <a href="http://www.designersilverlight.com/wp-content/uploads/2010/06/image3.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.designersilverlight.com/wp-content/uploads/2010/06/image_thumb4.png" width="244" height="166" /></a></p>
<p>One note with the DockPanel… items placed in the DockPanel need to have the attached property</p>
<p><font color="#ff0000">[xmlns]:DockPanel.Dock</font>=”<font color="#0000ff">[something]</font>”</p>
<p>if you want them to do something other than align in the center. The [xmlns] name should be the same thing that is before the “DockPanel” in the XAML. It will most likely be “WP7Panels”. Therefore, the following XAML:</p>
<p><font color="#0000ff">&lt;</font><font color="#8b0000">WP7Panels:DockPanel</font><font color="#0000ff">&gt;</font>     <br />&#160;&#160;&#160; <font color="#0000ff">&lt;</font><font color="#800000">Button</font> <font color="#ff0000">Content</font>=&quot;<font color="#0000ff">Button</font>&quot; <font color="#ff0000">WP7Panels:DockPanel.Dock</font>=&quot;<font color="#0000ff">Bottom</font>&quot; <font color="#0000ff">/&gt;      <br /></font>&#160;&#160;&#160; <font color="#0000ff">&lt;</font><font color="#800000">Button</font> <font color="#ff0000">Content</font>=&quot;<font color="#0000ff">Button</font>&quot; <font color="#ff0000">WP7Panels:DockPanel.Dock</font>=&quot;<font color="#0000ff">Top</font>&quot; <font color="#0000ff">/&gt;      <br /></font>&#160;&#160;&#160; <font color="#0000ff">&lt;</font><font color="#800000">Button</font> <font color="#ff0000">Content</font>=&quot;<font color="#0000ff">Button</font>&quot; <font color="#ff0000">WP7Panels:DockPanel.Dock</font>=&quot;<font color="#0000ff">Right</font>&quot; <font color="#0000ff">/&gt;      <br /></font>&#160;&#160;&#160; <font color="#0000ff">&lt;</font><font color="#800000">Button</font> <font color="#ff0000">Content</font>=&quot;<font color="#0000ff">Button</font>&quot; <font color="#ff0000">WP7Panels:DockPanel.Dock</font>=&quot;<font color="#0000ff">Left</font>&quot; <font color="#0000ff">/&gt;      <br /></font>&#160;&#160;&#160; <font color="#0000ff">&lt;</font><font color="#800000">Button</font> <font color="#ff0000">Content</font>=&quot;<font color="#0000ff">Button</font>&quot; <font color="#0000ff">/&gt;      <br /><font color="#0000ff">&lt;/</font><font color="#8b0000">WP7Panels:DockPanel</font><font color="#0000ff">&gt;</font></font></p>
<p>…should look like this:</p>
<p><a href="http://www.designersilverlight.com/wp-content/uploads/2010/06/image4.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.designersilverlight.com/wp-content/uploads/2010/06/image_thumb5.png" width="397" height="321" /></a> </p>
<p align="left">If you want to add the actual files to your Windows Phone 7 app instead of just referencing the DLL (perhaps you are crazy or you have a deep and desperate need to fully understand absolutely everything you touch or you are a C++ developer), you can download the source. I’ve consolidated the DockPanel code into a single file (DockPanel.cs), but you’ll need the following files to get the WrapPanel working (<a href="http://designersilverlight.com/wp-content/uploads/2010/06/WP7Panels.zip">all included in the source</a>).</p>
<ul>
<li>LengthConverter.cs </li>
<li>NumericalExtensions.cs </li>
<li>OrientedSize.cs </li>
<li>TypeConverter.cs </li>
<li>WrapPanel.cs </li>
</ul>
<p>Finally, if you need something else for Windows Phone 7 from the Silverlight Toolkit, you can either add the entire toolkit (<a href="http://www.codebadger.com/blog/post/2010/03/20/Using-the-WrapPanel-from-the-Silverlight-Toolkit-on-Windows-Phone-7.aspx">explained here</a>) or download the <a href="http://silverlight.codeplex.com/SourceControl/changeset/changes/35261">source for the latest Silverlight 3 build</a> and open it in Visual Studio 2010 (for some reason, I couldn’t get it to open in Visual Studio 2008). It should update and you should be all set playing around in there to extract the stuff you need. </p>
<p>Good luck!</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.designersilverlight.com/2010/06/28/using-wrappanel-and-dockpanel-in-windows-phone-7-with-blend/&amp;layout=standard&amp;show_faces=1&amp;width=450&amp;action=like&amp;colorscheme=light&amp;font=" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:25px"></iframe><div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Using+WrapPanel+and+DockPanel+in+Windows+Phone+7+With+Blend+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D1044" title="Post to Twitter"><img class="nothumb" src="http://www.designersilverlight.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Using+WrapPanel+and+DockPanel+in+Windows+Phone+7+With+Blend+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D1044" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.designersilverlight.com/2010/06/28/using-wrappanel-and-dockpanel-in-windows-phone-7-with-blend/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>XAML Files for Location Visualizations in Silverlight and WPF</title>
		<link>http://www.designersilverlight.com/2010/03/29/xaml-files-for-location-visualizations-in-silverlight-and-wpf/</link>
		<comments>http://www.designersilverlight.com/2010/03/29/xaml-files-for-location-visualizations-in-silverlight-and-wpf/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 20:03:01 +0000</pubDate>
		<dc:creator>Matthias Shapiro</dc:creator>
				<category><![CDATA[Silverlight 3]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[XAML]]></category>
		<category><![CDATA[information visualization]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[vector maps]]></category>

		<guid isPermaLink="false">http://www.designersilverlight.com/?p=926</guid>
		<description><![CDATA[In the comments of my Silverlight unemployment visualization, someone asked about where I got the US outline. I got it from the WikiCommons website which has an SVG (scalable vector graphics) version that I pulled into Adobe Illustrator and then exported as a XAML file using Mike Swanson&#8217;s Illustrator-to-XAML plugin. I realized this might not [...]]]></description>
			<content:encoded><![CDATA[<p>In the comments of my Silverlight unemployment visualization, someone asked about where I got the US outline. I got it from the <a href="http://commons.wikimedia.org/wiki/File:Blank_US_Map.svg">WikiCommons website</a> which has an SVG (scalable vector graphics) version that I pulled into Adobe Illustrator and then exported as a XAML file using <a href="http://www.mikeswanson.com/xamlexport/">Mike Swanson&#8217;s Illustrator-to-XAML plugin</a>.</p>
<p>I realized this might not be possible for many people who don&#8217;t own Adobe Illustrator, so I did it myself for several files that are now available for download as XAML vector graphics maps of the US.</p>
<p><a href="http://designersilverlight.com/wp-content/uploads/2010/Maps/SLandWPFMaps.zip">Download all Silverlight and WPF XAML files</a></p>
<h3>Silverlight</h3>
<ul>
<li><a href="http://designersilverlight.com/wp-content/uploads/2010/Maps/SilverlightMaps.zip">Download all Silverlight XAML files</a></li>
<li><a href="http://designersilverlight.com/wp-content/uploads/2010/Maps/Blank_US_Map_SL.xaml">United States Map with States</a></li>
<li><a href="http://designersilverlight.com/wp-content/uploads/2010/Maps/US_Congressional_districts_SL.xaml">United States Map with Congressional Districts</a></li>
<li><a href="http://designersilverlight.com/wp-content/uploads/2010/Maps/US_Counties_with_FIPS_SL.xaml">United States Map with Counties (FIPS)</a></li>
<li><a href="http://designersilverlight.com/wp-content/uploads/2010/Maps/US_Counties_with_names_SL.xaml">United States Map with Counties (County Names)</a></li>
</ul>
<h3>WPF</h3>
<ul>
<li><a href="http://designersilverlight.com/wp-content/uploads/2010/Maps/WPFMaps.zip">Download all WPF XAML files</a></li>
<li><a href="http://designersilverlight.com/wp-content/uploads/2010/Maps/Blank_US_Map_WPF.xaml">United States Map with States</a></li>
<li><a href="http://designersilverlight.com/wp-content/uploads/2010/Maps/US_Congressional_districts_WPF.xaml">United States Map with Congressional Districts</a></li>
<li><a href="http://designersilverlight.com/wp-content/uploads/2010/Maps/US_Counties_with_FIPS_WPF.xaml">United States Map with Counties (FIPS)</a></li>
<li><a href="http://designersilverlight.com/wp-content/uploads/2010/Maps/US_Counties_with_names_WPF.xaml">United States Map with Counties (County Names)</a></li>
</ul>
<p>I&#8217;ll confess, the real difference between the Silverlight and WPF files is that the WPF files encapsulate everything into a &#8220;Viewbox&#8221; control that allows dynamic resizing of the maps. If you want that functionality in Silverlight, just download and<a href="http://silverlight.codeplex.com/Wikipage"> install the Silverlight toolkit</a> and encapsulate the Canvas into a Viewbox. (The Viewbox will be a standard control in Silverlight 4, I am reliably informed.)</p>
<p>Now, a quick overview of the files:</p>
<h3><strong>United States Map with States</strong></h3>
<p>This is a nice tidy file (69K) with vector maps for all the states in the US. Each state has been named by its abbreviation. For example, the California map path would have the attribute: <strong>x:Name=&#8221;CA&#8221;</strong>.</p>
<h3><strong>United States Map with Congressional Districts</strong></h3>
<p><strong> </strong>This file is based off of the <a href="http://commons.wikimedia.org/wiki/File:US_Congressional_districts.svg">Wiki Commons Congressional District map</a> and is pretty big (about 1 MB). The paths are named based on a <em>State_District</em> naming convention. For example: Washington&#8217;s 8th Congressional District would have the attribute <strong>x:Name=&#8221;WA_8&#8243;</strong>.</p>
<p>There are 7 &#8220;at large&#8221; districts, which indicate states that only have one congressional seat. They have the attribute &#8220;<em>State_At_Large</em>&#8220;&#8230; for example, North Dakota&#8217;s one and only congressional district has the attribute <strong>x:Name=&#8221;ND_At_Large&#8221;</strong>.</p>
<h3><strong>United States Map with Counties (FIPS)</strong></h3>
<p><strong></strong>This map is pretty hefty at 1.5 MB. All paths have a FIPS code for the county they represent as their x:Name attribute. A FIPS code is a 5 digit code corresponding to a unique county in the United States. The first two digits indicate a state (for example, California is &#8220;06&#8243;) and the last three digits indicate a unique county (for example, Orange County in California is &#8220;059&#8243;). Because of the limitations in the XAML x:Name conventions, the FIPS code for a county is preceeded by an underscore. So, the path indicating Orange County, California would be <strong>x:Name=&#8221;_06509&#8243;</strong>.</p>
<p>If you need a FIPS-to-CountyName file, check out this <a href="http://www.designersilverlight.com/wp-content/uploads/2010/Maps/FIPSCodes.csv">FIPS code CSV file</a>.</p>
<h3><strong>United States Map with Counties (County Names)</strong></h3>
<p>This is the same map as the FIPS map except that the x:Name attribute is<em> State_CountyName</em>. For example, the path for Fulton County, Georgia would have the attribute <strong>x:Name=&#8221;GA_Fulton&#8221;</strong>. Periods, commas and apostrophes have been deleted. Multiple word and hyphenated counties have an underscore where the space or hyphen would be. For example, Alaska&#8217;s Skagway-Hoonah-Angoon Borough would be <strong>x:Name=&#8221;AK_Skagway_Hoonah_Angoon&#8221;</strong>.</p>
<p>Holy cow, Alaska&#8230; did you really need to name a county with more letters than the number of people living there?</p>
<p>Anyway, that&#8217;s the overview of these files. In the interest of keeping the file size down (no, really! Stop laughing at me!), the county and congressional district boundaries aren&#8217;t as details as we might prefer, but that&#8217;s the trade-off we have. Also, the county name data is pretty good, but there are over 3100 counties in the US, so I didn&#8217;t get a chance to double check each one of the names. Use at your own risk.</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.designersilverlight.com/2010/03/29/xaml-files-for-location-visualizations-in-silverlight-and-wpf/&amp;layout=standard&amp;show_faces=1&amp;width=450&amp;action=like&amp;colorscheme=light&amp;font=" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:25px"></iframe><div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=XAML+Files+for+Location+Visualizations+in+Silverlight+and+WPF+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D926" title="Post to Twitter"><img class="nothumb" src="http://www.designersilverlight.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=XAML+Files+for+Location+Visualizations+in+Silverlight+and+WPF+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D926" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.designersilverlight.com/2010/03/29/xaml-files-for-location-visualizations-in-silverlight-and-wpf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Create a Flexible Striped Gradient In Silverlight and WPF</title>
		<link>http://www.designersilverlight.com/2010/01/13/how-to-create-a-flexible-striped-gradient-in-silverlight-and-wpf/</link>
		<comments>http://www.designersilverlight.com/2010/01/13/how-to-create-a-flexible-striped-gradient-in-silverlight-and-wpf/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 00:35:34 +0000</pubDate>
		<dc:creator>Matthias Shapiro</dc:creator>
				<category><![CDATA[backgrounds]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Silverlight 3]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[XAML]]></category>
		<category><![CDATA[gradient brush]]></category>

		<guid isPermaLink="false">http://www.designersilverlight.com/2010/01/13/how-to-create-a-flexible-striped-gradient-in-silverlight-and-wpf/</guid>
		<description><![CDATA[Thanks to Joe McBride and Jason Alderman, who discovered this technique in some of Microsoft’s theme packs. I&#8217;m trying something a little new&#8230; I&#8217;m going to post all future Silverlight tutorials on CodeRun, an online IDE. Basically, just follow the link below and click &#8220;Run&#8221; and you&#8217;ll see this in action. You can change the [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to Joe McBride and Jason Alderman, who discovered this technique in some of Microsoft’s theme packs.</p>
<p>I&#8217;m trying something a little new&#8230; I&#8217;m going to post all future Silverlight tutorials on CodeRun, an online IDE. Basically, just follow the link below and click &#8220;Run&#8221; and you&#8217;ll see this in action. You can change the XAML at CodeRun to test it out, which I find exceptionally cool. Let me know if you a) like this or b) hate this.</p>
<p><a href="http://www.coderun.com/ide/?w=2CkJMKTpW0OOUBaXjngIDQ">Open this project on CodeRun</a>.</p>
<p>This is just a little trick to get a nice flexible striped gradient in Silverlight or WPF. Our end product will look like this</p>
<p><a href="http://www.designersilverlight.com/wp-content/uploads/2010/01/clip_image001.png"><img style="display: inline; border: 0px;" title="clip_image001" src="http://www.designersilverlight.com/wp-content/uploads/2010/01/clip_image001_thumb.png" border="0" alt="clip_image001" width="639" height="50" /></a></p>
<p>Zoomed in:</p>
<p><a href="http://www.designersilverlight.com/wp-content/uploads/2010/01/clip_image0015.png"><img style="display: inline; border: 0px;" title="clip_image001[5]" src="http://www.designersilverlight.com/wp-content/uploads/2010/01/clip_image0015_thumb.png" border="0" alt="clip_image001[5]" width="180" height="105" /></a></p>
<p>Just adds some nice texture to the app.</p>
<p>First, go to the element you want to apply the gradient to and go to the (you guessed it!) gradient section in the background.</p>
<p><a href="http://www.designersilverlight.com/wp-content/uploads/2010/01/clip_image0017.png"><img style="display: inline; border: 0px;" title="clip_image001[7]" src="http://www.designersilverlight.com/wp-content/uploads/2010/01/clip_image0017_thumb.png" border="0" alt="clip_image001[7]" width="322" height="136" /></a></p>
<p>This will pull up the default black-to-white gradient that we all know and love. Give it two more gradient stops as close to the center as you can by clicking on the gradient twice. Make the two left stops the color of your stripe. For this example, I’m using a nice blue gradient with some transparency. I think it fits nice with the background. Also make the two right stops fully transparent. Should look something like this:</p>
<p><a href="http://www.designersilverlight.com/wp-content/uploads/2010/01/clip_image00111.png"><img style="display: inline; border: 0px;" title="clip_image001[11]" src="http://www.designersilverlight.com/wp-content/uploads/2010/01/clip_image00111_thumb.png" border="0" alt="clip_image001[11]" width="316" height="90" /></a></p>
<p>Dandy. Now click on the arrow to expand our options (seen at the bottom of the image above) and a new set of options open up for us to futz with. Let’s go ahead and set the following options:</p>
<ul>
<li>StartPoint = 0,0</li>
<li>EndPoint = 1.5, 1.5</li>
<li>MappingMode = Absolute</li>
<li>SpreadMethod = Repeat</li>
</ul>
<p><a href="http://www.designersilverlight.com/wp-content/uploads/2010/01/clip_image00113.png"><img style="display: inline; border: 0px;" title="clip_image001[13]" src="http://www.designersilverlight.com/wp-content/uploads/2010/01/clip_image00113_thumb.png" border="0" alt="clip_image001[13]" width="314" height="142" /></a></p>
<p>And that’s it! We can change the visible color to get something a little more appropriate to our background or we can change the EndPoint to make the stripes wider or at a different angle. But that’s all we need.</p>
<p>Here’s the XAML for reference.</p>
<p>&lt;LinearGradientBrush<br />
EndPoint=&#8221;1.5,1.5&#8243;<br />
MappingMode=&#8221;Absolute&#8221;<br />
SpreadMethod=&#8221;Repeat&#8221;<br />
StartPoint=&#8221;0,0&#8243;&gt;<br />
&lt;GradientStop Color=&#8221;#BF125881&#8243;/&gt;<br />
&lt;GradientStop Color=&#8221;#BE6C9AE0&#8243; Offset=&#8221;0.526&#8243;/&gt;<br />
&lt;GradientStop Color=&#8221;Transparent&#8221; Offset=&#8221;0.544&#8243;/&gt;<br />
&lt;GradientStop Color=&#8221;Transparent&#8221; Offset=&#8221;1&#8243;/&gt;<br />
&lt;/LinearGradientBrush&gt;</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.designersilverlight.com/2010/01/13/how-to-create-a-flexible-striped-gradient-in-silverlight-and-wpf/&amp;layout=standard&amp;show_faces=1&amp;width=450&amp;action=like&amp;colorscheme=light&amp;font=" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:25px"></iframe><div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=How+To+Create+a+Flexible+Striped+Gradient+In+Silverlight+and+WPF+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D879" title="Post to Twitter"><img class="nothumb" src="http://www.designersilverlight.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=How+To+Create+a+Flexible+Striped+Gradient+In+Silverlight+and+WPF+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D879" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.designersilverlight.com/2010/01/13/how-to-create-a-flexible-striped-gradient-in-silverlight-and-wpf/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Silverlight Visualization of MIX10 Open Call Sessions</title>
		<link>http://www.designersilverlight.com/2010/01/11/silverlight-visualization-of-mix10-open-call-sessions/</link>
		<comments>http://www.designersilverlight.com/2010/01/11/silverlight-visualization-of-mix10-open-call-sessions/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 15:46:42 +0000</pubDate>
		<dc:creator>Matthias Shapiro</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[MIX10]]></category>
		<category><![CDATA[Silverlight 3]]></category>
		<category><![CDATA[UX]]></category>

		<guid isPermaLink="false">http://www.designersilverlight.com/?p=860</guid>
		<description><![CDATA[I was digging through all the sessions submitted for the MIX10 Open Call last week and I decided that there had to be a better way to browse through the data to find sessions that might be interesting. So I spent the weekend hacking together this Silverlight visualization of the MIX10 Open Call sessions. If [...]]]></description>
			<content:encoded><![CDATA[<p>I was digging through all the sessions submitted for the <a href="http://visitmix.com/opencallvote/">MIX10 Open Call</a> last week and I decided that there had to be a better way to browse through the data to find sessions that might be interesting. So I spent the weekend hacking together this <a href="http://www.designersilverlight.com/MIX10/">Silverlight visualization of the MIX10 Open Call sessions</a>.</p>
<p>If you think this is an engaging way to look at the Open Call sessions, I ask that you include my session &#8220;<a href="http://visitmix.com/opencallvote/Entry?entryId=CREATI083">Creating Effective Info Viz in Silverlight</a>&#8221; on your ballot.</p>
<p><a href="http://www.designersilverlight.com/MIX10/"><img class="alignnone size-large wp-image-861" title="MIX10OpenCallImage" src="http://www.designersilverlight.com/wp-content/uploads/2010/01/MIX10OpenCallImage-1024x581.png" alt="MIX10OpenCallImage" width="512" height="290" /></a></p>
<p>If you have any problems with this project, please let me know! I&#8217;ve already had one person point out a parsing error that was depriving him of a properly attributed session.</p>
<p>This visualization is basically a set of word clouds for the titles, abstracts and speakers of the submitted proposals. Clicking on the words or names brings up a list of related sessions with links so that users can either go to the session or directly vote for it (although you&#8217;d still need to click  &#8220;Submit Your Ballot&#8221; in order to make the vote count).</p>
<p>So, now I&#8217;d like to talk about problems with this project.</p>
<p>There&#8217;s a weird problem with the animation when the panels flip from front (the word cloud) to back (the detail view). I <em>think </em>this is because I&#8217;m building the detail view dynamically, which makes it mostly a performance issue. I spent a couple hours fighting with this problem and tried several possible solutions. Ultimately, I couldn&#8217;t fix it, so I decided not to let the perfect be the enemy of the good.</p>
<p>I decided to use a wrapping ListBox for displaying all the words and names rather than try to squish them onto a single screen for a couple reasons.</p>
<ol>
<li>Dumping all the sized items into a ListBox was WAY easier that constructing a beautiful Wordle type word cloud and gave me most of the value. Since there was a very short window in which this project would be valuable, I decided in favor of the faster method.</li>
<li>If the user is trying to play around with this and doesn&#8217;t want their browser to fill the screen, they can still see everything. Allowing scrolling means that the user doesn&#8217;t have to feel like I DEMAND their full attention. The application becomes a casual application rather than a consuming one.</li>
<li>People love to see their names in lights. Over on the &#8220;Speaker&#8221; section, I wanted the names to be big enough so that every person who submitted a session could see their name in the &#8220;Speaker&#8221; panel. That was probably the most important part of this project to me (hey, I do user design&#8230; it&#8217;s all about the people), so that&#8217;s what I did.</li>
</ol>
<p>Given more time, I probably would have worked a little more on the visual design and the motion design (animations and what not). I probably also would have sped up the application by taking some of the processing procedures out of the application and turned them into static data files. The fact of the matter was that this project evolved from testing to prototype to final project very quickly because of the time constraints.</p>
<p>But, hey, that&#8217;s life.</p>
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.designersilverlight.com/2010/01/11/silverlight-visualization-of-mix10-open-call-sessions/&amp;layout=standard&amp;show_faces=1&amp;width=450&amp;action=like&amp;colorscheme=light&amp;font=" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:25px"></iframe><div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Silverlight+Visualization+of+MIX10+Open+Call+Sessions+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D860" title="Post to Twitter"><img class="nothumb" src="http://www.designersilverlight.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Silverlight+Visualization+of+MIX10+Open+Call+Sessions+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D860" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.designersilverlight.com/2010/01/11/silverlight-visualization-of-mix10-open-call-sessions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Info Vis, Snapping Behaviors, Illustrator Guidance and Custom Control Stuff</title>
		<link>http://www.designersilverlight.com/2009/09/10/info-vis-snapping-behaviors-illustrator-guidance-and-custom-control-stuff/</link>
		<comments>http://www.designersilverlight.com/2009/09/10/info-vis-snapping-behaviors-illustrator-guidance-and-custom-control-stuff/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 21:04:17 +0000</pubDate>
		<dc:creator>Matthias Shapiro</dc:creator>
				<category><![CDATA[c#]]></category>
		<category><![CDATA[Controls]]></category>
		<category><![CDATA[custom-control]]></category>
		<category><![CDATA[Helpful Links]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight 3]]></category>

		<guid isPermaLink="false">http://www.designersilverlight.com/?p=830</guid>
		<description><![CDATA[I&#8217;ve been a busy blogger over at Veracity Blogs the last couple weeks. Here&#8217;s a list of my new posts: Florida Crime Rate Visualization &#8211; My attempts to use Silverlight for information visualizations are going pretty well. In this post, I visualize the Florida crime rate by county over almost 20 years. There are project [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a busy blogger over at Veracity Blogs the last couple weeks. Here&#8217;s a list of my new posts:</p>
<ul>
<li><a href="http://blogs.veracitysolutions.com/florida-crime-rates-an-information-visualization-in-silverlight/">Florida Crime Rate Visualization</a> &#8211; My attempts to use Silverlight for information visualizations are going pretty well. In this post, I visualize the Florida crime rate by county over almost 20 years. There are project files availalbe for anyone who wants to dig into how I did it a little more. </li>
<li><a href="http://blogs.veracitysolutions.com/adobe-illustrator-to-xaml-conversion-options/">Adobe Illustrator to XAML Conversion Options</a> &#8211; This post walks through the pros and cons of two methods for taking an SVG file (or Adobe Illustrator) file and pulling it into Blend as a XAML file. It also has a XAML copy of a vector map of the US by county for download.</li>
<li><a href="http://blogs.veracitysolutions.com/create-a-snapping-slider-in-blend-using-behaviors-silverlight-3-or-wpf/">Create A Snapping Slider In Blend Using Behaviors</a> &#8211; This provides a downloadable behavior for getting a slider to snap to integers (or an integer multiple based on certain settings). I&#8217;ve provided project files as well as a tutorial for how to do it.</li>
<li><a href="http://blogs.veracitysolutions.com/how-to-create-a-part-in-your-silverlight-custom-control/">How To Create a PART in Your Silverlight Custom Control</a> &#8211; Because there are about a dozen tutorials on building a custom control, but I keep forgetting exactly how to do this part of it.</li>
<li><a href="http://blogs.veracitysolutions.com/how-to-animate-a-changing-property-in-a-custom-control-in-silverlight/">How To Animate a Changing Property in a Custom Control in Silverlight</a> &#8211; Have you ever wanted your property to animation automatically when it changes in your Silverlight Custom Control. I say, &#8220;Who hasn&#8217;t!?&#8221; at which point my wife forces me out into the fresh air and sunshine (or, as I call it, the Blinding Day Star). After I scurry back inside, I wrote this blog post.</li>
<li><a href="http://blogs.veracitysolutions.com/how-to-build-a-storyboard-animation-in-c-sharp/">How To Build a Storyboard Animation for Silverlight in C#</a> &#8211; Because sometimes you want to enjoy the benefits of the Silverlight animation engine but you really need to build the animation in the code instead of the XAML.</li>
</ul>
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.designersilverlight.com/2009/09/10/info-vis-snapping-behaviors-illustrator-guidance-and-custom-control-stuff/&amp;layout=standard&amp;show_faces=1&amp;width=450&amp;action=like&amp;colorscheme=light&amp;font=" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:25px"></iframe><div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Info+Vis%2C+Snapping+Behaviors%2C+Illustrator+Guidance+and+Custom+Control+Stuff+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D830" title="Post to Twitter"><img class="nothumb" src="http://www.designersilverlight.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=Info+Vis%2C+Snapping+Behaviors%2C+Illustrator+Guidance+and+Custom+Control+Stuff+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D830" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.designersilverlight.com/2009/09/10/info-vis-snapping-behaviors-illustrator-guidance-and-custom-control-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPF, Silverlight and Design Links for 09/08/09</title>
		<link>http://www.designersilverlight.com/2009/09/08/wpf-silverlight-and-design-links-for-090809/</link>
		<comments>http://www.designersilverlight.com/2009/09/08/wpf-silverlight-and-design-links-for-090809/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 18:44:58 +0000</pubDate>
		<dc:creator>Matthias Shapiro</dc:creator>
				<category><![CDATA[Helpful Links]]></category>
		<category><![CDATA[Silverlight 3]]></category>
		<category><![CDATA[Styles and Templates]]></category>
		<category><![CDATA[treemap]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://www.designersilverlight.com/?p=818</guid>
		<description><![CDATA[I finally cleaned out my Google Reader list and picked out the stuff I like. Carsonified » 5 Advanced Photoshop Techniques for Web Designers Carsonified » Advanced Photoshop Techniques for Web Designers – Part 2 Source code for “WPF Control Development Unleashed” &#8211; From Pavan Podila, control development in WPF is pretty powerful&#8230; might be [...]]]></description>
			<content:encoded><![CDATA[<p>I finally cleaned out my Google Reader list and <a href="http://www.google.com/reader/shared/user/15377382774218134057/state/com.google/starred">picked out the stuff I like</a>.</p>
<ul>
<li><a href="http://carsonified.com/blog/design/5-advanced-photoshop-techniques-for-web-designers/">Carsonified » 5 Advanced Photoshop Techniques for Web Designers</a></li>
<li><a href="http://carsonified.com/blog/design/photoshp/advanced-photoshop-techniques-for-web-designers-part-2/">Carsonified » Advanced Photoshop Techniques for Web Designers – Part 2</a></li>
<li><a href="http://feedproxy.google.com/~r/Pixel-In-Gene/~3/pgtpSEpnOXA/">Source code for “WPF Control Development Unleashed”</a> &#8211; From Pavan Podila, control development in WPF is pretty powerful&#8230; might be a good idea to check out his book.</li>
<li><a href="http://feedproxy.google.com/~r/Pixel-In-Gene/~3/bVgbD40BX8k/">A SilverLight TreeMap control</a> &#8211; I can&#8217;t believe I missed this for so long. I need to dig into this a little more, but if this really works the way it looks, everyone should be worshiping Pavan Podila over at Pixel in Gene. This is an info vis dream come true.</li>
<li><a href="http://blogs.msdn.com/wpfsdk/archive/2009/08/27/implicit-styles-templates-controls-and-frameworkelements.aspx">Implicit Styles, Templates, Controls and FrameworkElements</a> &#8211; From the Windows Presentation Foundation SDK team, Carole Snyder has a post on implicit styles&#8230; definately an under-appreciated topic in WPF</li>
<li><a href="http://blogs.msdn.com/jaimer/archive/2009/08/11/expression-studio-tutorials-starter-kit.aspx">Expression Studio Tutorials Starter Kit</a> &#8211; Jaime Rodriguez continues to be awesome</li>
<li><a href="http://www.smashingmagazine.com/2009/08/10/mastering-css-advanced-techniques-and-tools/">Mastering CSS, Part 2: Advanced Techniques and Tools</a> &#8211; From Smashing Magazine and includes a section on iPhone CSS techniques</li>
<li><a href="http://www.smashingmagazine.com/2009/08/11/how-to-create-your-first-iphone-application/">How to Create Your First iPhone Application</a> &#8211; Yet another &#8220;Make an iPhone app&#8221; guide</li>
<li><a href="http://www.smashingmagazine.com/2009/08/14/how-to-effectively-communicate-with-developers/">How To Effectively Communicate With Developers</a> &#8211; The graphic is hilarious.</li>
<li><a href="http://www.smashingmagazine.com/2009/08/20/typographic-design-survey-best-practices-from-the-best-blogs/">Typographic Design Patterns and Best Practices</a> &#8211; Good for people who want to start digging into the typographic world</li>
<li><a href="http://www.smashingmagazine.com/2009/08/23/50-useful-new-jquery-techniques/">50 Useful New jQuery Techniques and Tutorials</a> &#8211; 50 is kind of a lot, but this is from Smashing Magazine, whose motto is &#8220;The most compelling link dumps in the design community&#8221;</li>
</ul>
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.designersilverlight.com/2009/09/08/wpf-silverlight-and-design-links-for-090809/&amp;layout=standard&amp;show_faces=1&amp;width=450&amp;action=like&amp;colorscheme=light&amp;font=" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:25px"></iframe><div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=WPF%2C+Silverlight+and+Design+Links+for+09%2F08%2F09+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D818" title="Post to Twitter"><img class="nothumb" src="http://www.designersilverlight.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/intent/tweet?text=WPF%2C+Silverlight+and+Design+Links+for+09%2F08%2F09+http%3A%2F%2Fdesignersilverlight.com%2F%3Fp%3D818" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.designersilverlight.com/2009/09/08/wpf-silverlight-and-design-links-for-090809/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

