<?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>Seema&#039;s Silverlite</title>
	<atom:link href="http://silverlite.seemar.org/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://silverlite.seemar.org</link>
	<description>performance, graphics, controls, and random silverlight trivia</description>
	<lastBuildDate>Wed, 21 Jul 2010 19:38:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Instructions for profiling Silverlight (Desktop) with VS2010 RTM</title>
		<link>http://silverlite.seemar.org/?p=62</link>
		<comments>http://silverlite.seemar.org/?p=62#comments</comments>
		<pubDate>Wed, 28 Apr 2010 19:21:34 +0000</pubDate>
		<dc:creator>seema</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight Performance]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://silverlite.seemar.org/?p=62</guid>
		<description><![CDATA[Maxim Goldin, from the VSTS team, has an excellent post on how to profile Silverlight 4 desktop with VS2010. Oren Nachman, our rockstar new perf SDET for Silverlight, is also an excellent source for Silverlight profiling tricks.]]></description>
			<content:encoded><![CDATA[<p>Maxim Goldin, from the VSTS team, has an excellent <a href="http://blogs.msdn.com/mgoldin/archive/2010/04/26/vs2010-silverlight-4-profiling.aspx">post on how to profile Silverlight 4 desktop with VS2010</a>.</p>
<p><a href="http://www.nachmore.com/?cat=4" target="_blank">Oren Nachman</a>, our rockstar new perf SDET for Silverlight, is also an excellent source for Silverlight profiling tricks.</p>
]]></content:encoded>
			<wfw:commentRss>http://silverlite.seemar.org/?feed=rss2&#038;p=62</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips for creating massive amounts of shapes</title>
		<link>http://silverlite.seemar.org/?p=56</link>
		<comments>http://silverlite.seemar.org/?p=56#comments</comments>
		<pubDate>Thu, 28 May 2009 19:18:58 +0000</pubDate>
		<dc:creator>seema</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight Performance]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://silverlite.seemar.org/?p=56</guid>
		<description><![CDATA[I am often asked how to reduce the creation time for a massive number of shapes. &#160; Try a few things: 1)&#160;&#160;&#160;&#160;&#160; Use XamlReader.Load when you can (with the mini-language), which allows you to use the native parser and not managed code to create new shapes 2)&#160;&#160;&#160;&#160;&#160; Use the mini-language for Paths or lines (whether [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="COLOR: #993366"><span style="font-size: small;"><span style="font-family: Calibri;">I am often asked how to reduce the creation time for a massive number of shapes. </span></span></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="COLOR: #993366"><span style="font-size: small;"><span style="font-family: Calibri;"></span></span></span>&nbsp;</p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="COLOR: #993366"><span style="font-size: small;"><span style="font-family: Calibri;">Try a few things:<o:p></o:p></span></span></span></p>
<p class="MsoListParagraph" style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1"><span style="COLOR: #993366; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri"><span style="mso-list: Ignore"><span style="font-family: Calibri; font-size: small;">1)</span><span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="COLOR: #993366"><span style="font-size: small;"><span style="font-family: Calibri;">Use XamlReader.Load when you can (with the mini-language), which allows you to use the native parser and not managed code to create new shapes<o:p></o:p></span></span></span></p>
<p class="MsoListParagraph" style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1"><span style="COLOR: #993366; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri"><span style="mso-list: Ignore"><span style="font-family: Calibri; font-size: small;">2)</span><span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="COLOR: #993366"><span style="font-size: small;"><span style="font-family: Calibri;">Use the mini-language for Paths or lines (whether using Xamlreader or C#) &ndash; both Silverlight and WPF optimize the mini-language internally, in different ways. When the mini-language is used, Silverlight does not create managed object for each PathFigure, Point etc&ndash; which saves creation time and space:<o:p></o:p></span></span></span></p>
<p class="MsoListParagraph" style="MARGIN: 0in 0in 0pt 0.5in"><span style="COLOR: #993366"><v:shapetype coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f" id="_x0000_t75"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype><o:p></o:p></span></p>
<p class="MsoListParagraph" style="MARGIN: 0in 0in 0pt 0.5in"><a href="http://msdn.microsoft.com/en-us/library/cc189041(VS.95).aspx"><span style="font-family: Calibri; color: #0000ff; font-size: small;">http://msdn.microsoft.com/en-us/library/cc189041(VS.95).aspx</span></a></p>
<p class="MsoListParagraph" style="MARGIN: 0in 0in 0pt 0.5in"><span style="COLOR: #993366"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></span></p>
<p><span style="font-family: Calibri; font-size: small;"></p>
<p class="MsoListParagraph" style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1"><span style="COLOR: #993366; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri"><span style="mso-list: Ignore"><span style="font-family: Calibri; font-size: small;">3)</span><span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="COLOR: #993366"><span style="font-size: small;"><span style="font-family: Calibri;">Switch to Bitmaps if appropriate. </span></span></span></p>
<p><span style="COLOR: #993366"></p>
<p class="MsoListParagraph" style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1"><span style="COLOR: #993366; mso-bidi-font-family: Calibri; mso-fareast-font-family: Calibri"><span style="mso-list: Ignore"><span style="font-family: Calibri; font-size: small;">4)</span><span style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-family: Calibri; font-size: small;">Prototype! Prototype! Prototype! Don&#8217;t write everything and realize that SL can&#8217;t generate 100,000 managed objects every 10msec. =)</span></span></span></span></p>
<p></span></p>
<p class="MsoListParagraph" style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1"><span style="COLOR: #993366"></span>&nbsp;</p>
<p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="COLOR: #993366"><span style="font-size: small;"><span style="font-family: Calibri;">Generally, for drawing massive number of shapes, you want to reduce the amount of time spent in managed creation time.</span></span></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt"><span style="COLOR: #993366"><span style="font-size: small;"><span style="font-family: Calibri;">-Seema<o:p></o:p></span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://silverlite.seemar.org/?feed=rss2&#038;p=56</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video of &#8220;Deep Dive into SL Graphics&#8221; from Mix 2009 is posted</title>
		<link>http://silverlite.seemar.org/?p=54</link>
		<comments>http://silverlite.seemar.org/?p=54#comments</comments>
		<pubDate>Sat, 28 Mar 2009 19:18:00 +0000</pubDate>
		<dc:creator>seema</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight Performance]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://silverlite.seemar.org/?p=54</guid>
		<description><![CDATA[[this was originally posted on http://blogs.msdn.com/seema, reposting as I am moving hosting sites] The video for my talk on graphics is now posted, with slides: http://videos.visitmix.com/MIX09/T17F Demos: Demo project for building an invert shader Demo project for using a transition effect Note that I deleted the original images from the project &#8212; so, before pressing [...]]]></description>
			<content:encoded><![CDATA[<p><em>[this was originally posted on http://blogs.msdn.com/seema, reposting as I am moving hosting sites]</em></p>
<p><em></em>The video for my talk on graphics is now posted, with slides:</p>
<p><a href="http://videos.visitmix.com/MIX09/T17F">http://videos.visitmix.com/MIX09/T17F</a></p>
<p>Demos:</p>
<ul>
<li><a href="http://cid-05611cbd425431f5.skydrive.live.com/self.aspx/Public/MixInvertShaderApp.zip" target="_blank">Demo project for building an invert shader</a></li>
<li><a href="http://cid-05611cbd425431f5.skydrive.live.com/self.aspx/Public/MixCloudShaderApp.zip" target="_blank">Demo project for using a transition effect</a></li>
</ul>
<p>Note that I deleted the original images from the project &#8212; so, before pressing F5, replace trees.jpg and spring.jpg with actual images.<br />
I&#8217;ll post detailed steps shortly, but this should get most of you unblocked. Make sure to install the Pixel Shader Build Task before using (see below)</p>
<p>Pixel Shader Resources:</p>
<ul>
<li>WPF&#8217;s <a href="http://wpf.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=14962" target="_blank">Build Task </a>for building Pixel Shaders in a VS template &#8211; read the readme!</li>
<li><a href="/greg_schechter" target="_blank">Greg Schechter</a>&#8216;s great <a href="/greg_schechter/archive/2008/05/09/a-series-on-gpu-based-effects-for-wpf.aspx" target="_blank">series of posts </a>on building Pixel Shaders for WPF</li>
<li><a href="http://www.codeplex.com/wpffx" target="_blank">WPF Effects Library</a>, which can also be used within Silverlight</li>
</ul>
<p>Enjoy!<br />
Seema</p>
]]></content:encoded>
			<wfw:commentRss>http://silverlite.seemar.org/?feed=rss2&#038;p=54</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Summary of the 20min perf talk at Mix 2009</title>
		<link>http://silverlite.seemar.org/?p=52</link>
		<comments>http://silverlite.seemar.org/?p=52#comments</comments>
		<pubDate>Tue, 24 Mar 2009 19:16:27 +0000</pubDate>
		<dc:creator>seema</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight Performance]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://silverlite.seemar.org/?p=52</guid>
		<description><![CDATA[[this was originally posted on http://blogs.msdn.com/seema, reposting as I am moving hosting sites] The 20 minute talk is posted here. I spoke till the speaker timer started to flash at me (giant flashing clock), which resulted in having no time for a forum Q&#38;A, but feel free to post your questions/comments down below. I&#8217;m always [...]]]></description>
			<content:encoded><![CDATA[<p><em>[this was originally posted on http://blogs.msdn.com/seema, reposting as I am moving hosting sites]</em></p>
<p>The 20 minute talk is posted <a href="http://videos.visitmix.com/MIX09/T67M" target="_blank">here</a>. I spoke till the speaker timer started to flash at me (giant flashing clock), which resulted in having no time for a forum Q&amp;A, but feel free to post your questions/comments down below. I&#8217;m always curious about what perf issues people are hitting.</p>
<p>Understanding perf issues gives me an idea of how people are stretching the platform beyond our key scenarios, and which APIs/codepaths we should improve in the next version.</p>
<p>Tim Sneath wrote an excellent <a href="/tims/archive/2009/03/24/building-an-optimized-graphics-intensive-silverlight-application.aspx" target="_blank">writeup</a> of my 20min mix session on writing an optimized SL app. I almost wish that I had his post to read off as a script!</p>
<p>Talk Video &amp; PPT: <a href="http://videos.visitmix.com/MIX09/T67M">http://videos.visitmix.com/MIX09/T67M</a><br />
Tim&#8217;s great summary: <a href="/tims/archive/2009/03/24/building-an-optimized-graphics-intensive-silverlight-application.aspx">http://blogs.msdn.com/tims/archive/2009/03/24/building-an-optimized-graphics-intensive-silverlight-application.aspx</a></p>
<p>Cheers, Seema</p>
]]></content:encoded>
			<wfw:commentRss>http://silverlite.seemar.org/?feed=rss2&#038;p=52</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Going to Vegas with my Phone&#8230;</title>
		<link>http://silverlite.seemar.org/?p=60</link>
		<comments>http://silverlite.seemar.org/?p=60#comments</comments>
		<pubDate>Thu, 05 Mar 2009 20:20:30 +0000</pubDate>
		<dc:creator>seema</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight Performance]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://silverlite.seemar.org/?p=60</guid>
		<description><![CDATA[For those wondering my current project is, I can finally talk about it! I&#8217;ll be speaking at Mix, hope to see you there! SILVERLIGHT PERFORMANCE ON WINDOWS&#160;PHONE Learn how to optimize your Silverlight code for Windows Phone. This session will discuss common bottlenecks using the graphics and managed stacks, and will highlight how to optimize [...]]]></description>
			<content:encoded><![CDATA[<p>For those wondering my current project is, I can finally talk about it! I&#8217;ll be speaking at Mix, hope to see you there!<span style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 16px 'Times New Roman'; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: #000000; WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span style="LINE-HEIGHT: 24px; FONT-FAMILY: georgia, verdana, sans-serif; COLOR: #222222"></span></span></p>
<blockquote>
<h1 style="PADDING-BOTTOM: 0px; LINE-HEIGHT: 1; BORDER-RIGHT-WIDTH: 0px; TEXT-TRANSFORM: uppercase; MARGIN: 0px 0px 0.5em; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: 'gill sans', georgia, verdana, sans-serif; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; COLOR: #1b3135; FONT-SIZE: 1.5em; BORDER-LEFT-WIDTH: 0px; FONT-WEIGHT: bold; PADDING-TOP: 0px"><a href="http://live.visitmix.com/Mix10/sessions/cl60">SILVERLIGHT PERFORMANCE ON WINDOWS&nbsp;PHONE</a></h1>
<div class="metadata" style="PADDING-BOTTOM: 0px; BORDER-RIGHT-WIDTH: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: inherit; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; FONT-SIZE: 16px; BORDER-LEFT-WIDTH: 0px; PADDING-TOP: 0px">Learn how to optimize your Silverlight code for Windows Phone. This session will discuss common bottlenecks using the graphics and managed stacks, and will highlight how to optimize startup and reaction time.</div>
</blockquote>
<p><a href="http://live.visitmix.com/MIX10/Sessions/CL60">http://live.visitmix.com/MIX10/Sessions/CL60</a></p>
]]></content:encoded>
			<wfw:commentRss>http://silverlite.seemar.org/?feed=rss2&#038;p=60</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PDC 2009 video, TechEd Iceland, VS2010, profiling, Silverlight 4</title>
		<link>http://silverlite.seemar.org/?p=58</link>
		<comments>http://silverlite.seemar.org/?p=58#comments</comments>
		<pubDate>Wed, 28 Jan 2009 20:19:46 +0000</pubDate>
		<dc:creator>seema</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight Performance]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://silverlite.seemar.org/?p=58</guid>
		<description><![CDATA[(I know I promised this eons ago, so apologies in advance&#8230; on the flipside, I&#8217;m posting from my vacation in Paris, so hopefully that earns me 1-2 brownie points back.) First, my PDC slides and the video. This is the same talk that I gave at TechEd Iceland for profiling.&#160; I was recently reminded to [...]]]></description>
			<content:encoded><![CDATA[<p><i>(I know I promised this eons ago, so apologies in advance&#8230; on the flipside, I&#8217;m posting from my vacation in Paris, so hopefully that earns me 1-2 brownie points back.) </i></p>
<p>First, m<a target="_blank" href="http://microsoftpdc.com/Sessions/P09-10">y PDC slides and the video</a>. This is the same talk that I gave at TechEd Iceland for profiling.&nbsp;</p>
<p>I was recently reminded to post instructions on profiling Silverlight 4 with VS2010.</p>
<p>At PDC, I announced that Silverlight 4 came with the new CoreCLR capability of being profile-able by the VS2010 profilers: this means that for the first time, we give you the power to profile the managed and native code (user or platform) used by a Silverlight application. woohoo. kudos to the CLR team.</p>
<p><i>Sidenote: From silverlight 1-3, one could only use things like xperf (see <a target="_blank" href="/seema/archive/2008/10/08/xperf-a-cpu-sampler-for-silverlight.aspx">XPerf: A CPU Sampler for Silverlight</a>) which is very powerful to see the layout/text/media/gfx/etc pipelines, but only gives the native callstack.)<br /></i></p>
<p>However, the version of VS2010 available at PDC unfortunately had a bug: it could not profile Silverlight. My PDC profile demo was saved from a VS2010 build with the fix&#8230; thus the delay in my posting instructions. I&#8217;m not sure when you&#8217;ll get next the public drop of VS2010&#8230; but you&#8217;ll run into a new problem: SL4 Beta did not publish symbols to the Microsoft Symbol Server. </p>
<p>I&#8217;ll be sure to post a status on all of this by Mix (feel free to remind me).</p>
<p>If you happen to read this at a later point, when you have all the drops and symbols, then: Hello! What is the future like? You can use the below instructions:</p>
<ol>
<li>admin-level VS prompt</li>
<li>cd /</li>
<li>vsperfclrenv /sampleon </li>
<li>set CORECLR_ENABLE_PROFILING=1</li>
<li>set CORECLR_PROFILER=%COR_PROFILER%</li>
<li>vsperfcmd /start:sample /output:myProfile.vsp </li>
<li>vsperfcmd /launch:&#8221;c:\Program Files\Internet Explorer\iexplore.exe&#8221; /timer:100000</li>
<li>**&nbsp;&nbsp;&nbsp; navigate, play with app, Shut down.</li>
<li>vsperfcmd /shutdown</li>
<li>before viewing, turn on the symbols server in VS2010 through: Tools&#8211;&gt;Options&#8211;&gt;Debugging&#8211;&gt;Symbols&#8211;&gt;check microsoft symbols server.<br /><em>(In the video, the symbols just&nbsp;point to a folder where I cache the internal symbols locally&#8230; not sure, but I don&#8217;t think you guys can do that too.)</em></li>
<li>Open file in VS2010<br /><em>(Double-clicking in explorer will not work. VS2010 &#8211;&gt; File &#8211;&gt; open &#8211;&gt; pick file.)</em></li>
</ol>
<div>Cheers, and have fun!&nbsp;</div>
<div>Seema</div>
]]></content:encoded>
			<wfw:commentRss>http://silverlite.seemar.org/?feed=rss2&#038;p=58</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Published the Source code for Silverlight 2 Runtime &amp; SDK Controls</title>
		<link>http://silverlite.seemar.org/?p=50</link>
		<comments>http://silverlite.seemar.org/?p=50#comments</comments>
		<pubDate>Wed, 07 Jan 2009 20:15:05 +0000</pubDate>
		<dc:creator>seema</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://silverlite.seemar.org/?p=50</guid>
		<description><![CDATA[[originally posted on http://blogs.msdn.com/seema, I am moving hosting sites -Seema] Hi all, We’ve just published the sample source code for the Silverlight 2 Controls as shipped in the runtime and the SDK. Within the RuntimeControls folder, you’ll see a Solution that contains three projects: 1. SilverlightControls – One can edit the source and default control [...]]]></description>
			<content:encoded><![CDATA[<p><em>[originally posted on http://blogs.msdn.com/seema, I am moving hosting sites -Seema]</em></p>
<p><em><br />
</em></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Verdana;">Hi all,</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Verdana;">We’ve just </span><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=EB83ED4C-AC85-4DE9-8395-285628EE2254&amp;displaylang=en"><span style="font-family: Verdana;">published the sample source code</span></a><span style="font-family: Verdana;"> for the Silverlight 2 Controls as shipped in the runtime and the SDK.</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Verdana;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Verdana;">Within the RuntimeControls folder, you’ll see a Solution that contains three projects: </span></p>
<p class="MsoListParagraphCxSpFirst" style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in; mso-list: l0 level1 lfo1;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">1.</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">SilverlightControls – One can edit the source and default control templates of the controls in order to build a DLL containing custom versions of the controls. </span></p>
<p class="MsoListParagraphCxSpMiddle" style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in; mso-list: l0 level1 lfo1;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">2.</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">Controls Sample – One can take the SilverlightControls DLL from #1 and include it in a project such as this. If you press F5, this app will launch displaying the controls created in #1.</span></p>
<p class="MsoListParagraphCxSpLast" style="margin: 0in 0in 10pt 0.5in; text-indent: -0.25in; mso-list: l0 level1 lfo1;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">3.</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">System.Windows.Design – This project is here largely for reference, it shows how to build a Design dll for VisualStudio and Expression Blend such that your custom controls would display within the toolbox. </span></p>
<p class="MsoListParagraphCxSpLast" style="margin: 0in 0in 10pt 0.5in; text-indent: -0.25in; mso-list: l0 level1 lfo1;"><img style="width: 260px; height: 549px;" title="Control Source Explorer" src="http://eicyzw.bay.livefilestore.com/y1pUsPw5tpHgSR-ye-wDGHNXzlehm8K8hYLKc2pzh0ltd_No4sYJGttm3D1osJGz6_RQwnSNs712Qm0aGzTNw3qtA/control%20source%20VS%20explorer.jpg" alt="Control Source Explorer" width="260" height="549" /></p>
<p class="MsoListParagraphCxSpLast" style="margin: 0in 0in 10pt 0.5in; text-indent: -0.25in; mso-list: l0 level1 lfo1;">
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Verdana;">Disclaimer: Note that we did take a small amount of changes in the Runtime Controls to get the project to properly build outside of our internal build environment. </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Verdana;"> </span></p>
<p><span style="font-family: Verdana;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;">The <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=EB83ED4C-AC85-4DE9-8395-285628EE2254&amp;displaylang=en">source for the following controls was released</a>:</p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in; line-height: normal; mso-list: l0 level1 lfo1;"><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;"><span style="mso-list: Ignore;"><span style="font-size: small;">-</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">Managed Runtime Controls:</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">ButtonBase</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">Button</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">HyperlinkButton</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">CheckBox</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">RadioButton</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">ToggleButton</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">RangeBase</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">ProgressBar</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">Slider</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">ScrollBar</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">Thumb</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in; line-height: normal; mso-list: l0 level1 lfo1;"><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;"><span style="mso-list: Ignore;"><span style="font-size: small;">-</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">SDK classes:</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">Calendar</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">DatePicker</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">DataGrid</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">TabControl</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 1in; text-indent: -0.25in; line-height: normal; mso-list: l0 level2 lfo1;"><span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;"><span style="font-size: small;">o</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">GridSplitter</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in; line-height: normal; mso-list: l0 level1 lfo1;"><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;"><span style="mso-list: Ignore;"><span style="font-size: small;">-</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">Unite Tests for the SDK controls</span></p>
<p class="MsoListParagraph" style="margin: 0in 0in 0pt 0.5in; text-indent: -0.25in; line-height: normal; mso-list: l0 level1 lfo1;"><span style="font-family: 'Verdana','sans-serif'; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;"><span style="mso-list: Ignore;"><span style="font-size: small;">-</span><span style="font: 7pt 'Times New Roman';"> </span></span></span><span style="font-family: Calibri; font-size: small;">Appropriate sub-types (eventargs/ handlers, etc)</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;">
<p class="MsoNormal" style="margin: 0in 0in 0pt;">Have fun and let us know what you build!</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;">Seema, Andre Michaud, &amp; Jon Sheller</p>
]]></content:encoded>
			<wfw:commentRss>http://silverlite.seemar.org/?feed=rss2&#038;p=50</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some tips from the Silverlight perf PDC 2008 talk</title>
		<link>http://silverlite.seemar.org/?p=48</link>
		<comments>http://silverlite.seemar.org/?p=48#comments</comments>
		<pubDate>Tue, 25 Nov 2008 20:14:11 +0000</pubDate>
		<dc:creator>seema</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight Performance]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://silverlite.seemar.org/?p=48</guid>
		<description><![CDATA[Mike Snow posted a few of the tips from my PDC talk here, it&#8217;s a great summary. You can check it out here. Cheers! Seema]]></description>
			<content:encoded><![CDATA[<p>Mike Snow posted a few of the tips from my PDC talk here, it&#8217;s a great summary.</p>
<p>You can check it out <a href="http://silverlight.net/blogs/msnow/archive/2008/11/03/silverlight-tip-of-the-day-67-silverlight-performance-tips.aspx" target="_blank">here</a>.</p>
<p>Cheers!</p>
<p>Seema</p>
]]></content:encoded>
			<wfw:commentRss>http://silverlite.seemar.org/?feed=rss2&#038;p=48</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting to the Media FastPath</title>
		<link>http://silverlite.seemar.org/?p=46</link>
		<comments>http://silverlite.seemar.org/?p=46#comments</comments>
		<pubDate>Fri, 07 Nov 2008 20:13:23 +0000</pubDate>
		<dc:creator>seema</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight Performance]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://silverlite.seemar.org/?p=46</guid>
		<description><![CDATA[[this was originally posted on http://blogs.msdn.com/seema, reposting as I am moving hosting sites] Earlier this week, us in the Silverlight perf and media teams reviewed Ben Waggoner&#8217;s tutorial on how to build fast media players, check it out here: http://on10.net/blogs/benwagg/Building-high-performance-Silverlight-Media-Players/ Tis a great how to guide. (now I&#8217;m really going home. Seema)]]></description>
			<content:encoded><![CDATA[<p><em>[this was originally posted on http://blogs.msdn.com/seema, reposting as I am moving hosting sites]</em></p>
<p><em></em>Earlier this week, us in the Silverlight perf and media teams reviewed Ben Waggoner&#8217;s tutorial on how to build fast media players, check it out here:</p>
<p><a href="http://on10.net/blogs/benwagg/Building-high-performance-Silverlight-Media-Players/">http://on10.net/blogs/benwagg/Building-high-performance-Silverlight-Media-Players/</a></p>
<p>Tis a great how to guide.</p>
<p>(now I&#8217;m really going home. Seema)</p>
]]></content:encoded>
			<wfw:commentRss>http://silverlite.seemar.org/?feed=rss2&#038;p=46</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EnableFramerateCounter, Setting your Framerate correctly</title>
		<link>http://silverlite.seemar.org/?p=44</link>
		<comments>http://silverlite.seemar.org/?p=44#comments</comments>
		<pubDate>Fri, 07 Nov 2008 20:12:08 +0000</pubDate>
		<dc:creator>seema</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://silverlite.seemar.org/?p=44</guid>
		<description><![CDATA[[this was originally posted on http://blogs.msdn.com/seema, reposting as I am moving hosting sites] Debug tool I posted about EnableFramerateCounter before &#8212; it is a simple little debugging setting that you can use when trying to figure out: Which of these designs hurts my framerate more? If I add this module in, does it hurt my framerate? [...]]]></description>
			<content:encoded><![CDATA[<p><em>[this was originally posted on http://blogs.msdn.com/seema, reposting as I am moving hosting sites]</em></p>
<p><span style="text-decoration: underline;">Debug tool<br />
</span>I posted about EnableFramerateCounter before &#8212; it is a simple little debugging setting that you can use when trying to figure out:</p>
<ol>
<li>Which of these designs hurts my framerate more?</li>
<li>If I add this module in, does it hurt my framerate?</li>
</ol>
<p>To figure these out, you can:</p>
<ol>
<li>Set the plugin&#8217;s desired framerate at 1000 (<em><span class="parameter">silverlightObject</span>.<strong>settings</strong>.<strong>MaxFrameRate </strong></em>OR<em> </em><a href="http://wcpsdk/wpfe/html/171bb7cd-b7db-49f1-8fbc-42eb5c8371e2.htm"><em>Silverlight.CreateObjectEx</em></a><em>({properties:{framerate:&#8217;<span class="parameter">framerate</span>&#8216;}})</em>)</li>
<li>Turn on the EnableFramerateCounter, which should show up in the status bar (IE/Firefox &#8211;&gt; View &#8211;&gt; Status Bar).</li>
</ol>
<p><span style="text-decoration: underline;">Desired Framerates<br />
</span><em>Make sure to reset the framerate to the suggested framerates for your app: Media apps @60fps or RIA/Control apps @20fps before launching your app to the public.<br />
</em>When trying to figure out the desired framerate of an animation or control-heavy app, use real people (not developers/designers) to gauge whether increasing the fps above 20fps makes sense. If you set your framerate at an unnecessarily high value, it will throttle the computer&#8217;s cycles &#8212; and could result in a jerkier effect than if you just had a lower framerate. So where 60fps might be slick and easy for your devbox, it could be a pain for your customer&#8217;s machine &#8212; so only use what you need.</p>
<p>The desired framerate of plugin hosting media is always 60fps &#8212; this gives the media pipeline the most number of ticks to figure out the optimal timing of presenting a frame. Silverlight will decode at the framerate of the encoded video (this usually is &lt;32fps), and we present the frames in sync with the audio. To summarize roughly, if the platform doesn&#8217;t receive a tick in sync with the audio, then the platform will decode the frame, and then just throw it away. If you don&#8217;t understand this, just trust me and use framerate=60.</p>
<p>Technically, you could set the framerate dynamically &#8212; I haven&#8217;t tried this, but it might be a useful thing to try out if your app has both media and heavy controls/animations.</p>
<p><span style="text-decoration: underline;">Debugging Settings</span></p>
<p>So here are the debugging settings that I use (not all at once, of course)</p>
<blockquote>
<p style="margin: 0in 0in 0pt;"><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;">Sys.Silverlight.<strong>createObjectEx</strong>({</span><span style="font-size: 10pt; font-family: 'Arial','sans-serif';"> </span></p>
<p style="margin: 0in 0in 0pt;"><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"><span style="mso-spacerun: yes;"> </span>source: &#8220;xaml/Scene.xaml&#8221;,</span></p>
<p style="margin: 0in 0in 0pt;"><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"><span style="mso-spacerun: yes;"> </span>parentElement: document.getElementById(&#8220;SilverlightControlHost&#8221;),</span></p>
<p style="margin: 0in 0in 0pt;"><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"><span style="mso-spacerun: yes;"> </span>id: &#8220;SilverlightControl&#8221;,</span></p>
<p style="margin: 0in 0in 0pt;"><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"><span style="mso-spacerun: yes;"> </span>properties: {</span></p>
<p style="margin: 0in 0in 0pt;"><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"><span style="mso-spacerun: yes;"> </span>width: &#8220;500&#8243;, height: &#8220;500&#8243;,<strong> </strong></span></p>
<p style="margin: 0in 0in 0pt;"><strong><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>isWindowless: false, <span style="mso-tab-count: 1;"> </span></span></strong></p>
<p style="margin: 0in 0in 0pt;"><strong><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"><span style="mso-spacerun: yes;"> </span>background: &#8220;FF000000&#8243;, </span></strong></p>
<p style="margin: 0in 0in 0pt;"><strong><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"><span style="mso-spacerun: yes;"> </span>framerate: </span></strong><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;">&#8220;<strong>10000</strong>&#8220;<strong> </strong><span style="mso-spacerun: yes;"> </span>}, </span></p>
<p style="margin: 0in 0in 0pt;"><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"><span style="mso-spacerun: yes;"> </span>events: { onLoad:onLoadHandler} });</span></p>
<p style="margin: 0in 0in 0pt;"><span style="font-size: 10pt; font-family: 'Arial','sans-serif';"> </span></p>
<p style="margin: 0in 0in 0pt;"><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;">function onLoadHandler() {</span></p>
<p style="margin: 0in 0in 0pt;"><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"><span style="mso-spacerun: yes;"> </span>agControl = document.getElementById(&#8220;SilverlightControl&#8221;);</span></p>
<p style="margin: 0in 0in 0pt;"><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"><span style="mso-spacerun: yes;"> </span>/* To see the framerate displayed in the browser status bar */</span></p>
<p style="margin: 0in 0in 0pt;"><strong><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"><span style="mso-spacerun: yes;"> </span>agControl.settings.EnableFrameRateCounter = true;</span></strong><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"> </span></p>
<p style="margin: 0in 0in 0pt;"><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"><span style="mso-spacerun: yes;"> </span>/* To see the redraw regions*/</span></p>
<p style="margin: 0in 0in 0pt;"><strong><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"><span style="mso-spacerun: yes;"> </span>agControl.settings.EnableRedrawRegions= true;</span></strong><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"> </span></p>
<p style="margin: 0in 0in 0pt;"><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;">}</span></p>
</blockquote>
<p><span style="font-size: 10pt; font-family: Consolas; mso-fareast-font-family: +mn-ea; mso-bidi-font-family: +mn-cs; mso-font-kerning: 12.0pt;"> </span></p>
<p>I accidentally dumped the sugar canister into my tea, time to go home.<br />
Seema</p>
]]></content:encoded>
			<wfw:commentRss>http://silverlite.seemar.org/?feed=rss2&#038;p=44</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

