<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" gd:etag="W/&quot;C0QNQnY6eSp7ImA9WhRaFEk.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526</id><updated>2012-02-16T17:16:33.811-08:00</updated><category term="C#" /><category term="Netbeans" /><category term="Visual Studio" /><category term="Microsoft" /><category term="Biztalk" /><category term="Command Prompt" /><category term="Gmail" /><category term="Tips" /><category term="Windows" /><category term="Java" /><category term="Microsoft Silverlight 3.0" /><category term="Digg" /><category term="News" /><category term="csc.exe" /><category term="Silverlight" /><category term=".NET" /><category term="Blogging" /><title>Ramesh Subramanian's</title><subtitle type="html">Tech Talk</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/NewToProgramming" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="newtoprogramming" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><link rel="license" type="text/html" href="http://creativecommons.org/licenses/by-sa/2.0/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">NewToProgramming</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><entry gd:etag="W/&quot;A0MBQ3k8eip7ImA9Wx5SGEU.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-3052282277447188892</id><published>2010-08-15T06:31:00.001-07:00</published><updated>2010-08-15T09:24:12.772-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-08-15T09:24:12.772-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Biztalk" /><title>How to use Cross Referencing Functoids in Biztalk</title><content type="html">&lt;div style="padding: 0px; margin: 0px; display: inline; float: none;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:49b7da12-8a13-4b7f-badd-6272f00b16aa" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Biztalk" rel="tag"&gt;Biztalk&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Map" rel="tag"&gt;Map&lt;/a&gt;&lt;/div&gt;  &lt;p&gt;From Silverlight development to Biztalk development, things have changed pretty soon. &lt;/p&gt;  &lt;p&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="color: rgb(0, 0, 160);"&gt;&lt;strong&gt;Scenario&lt;/strong&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;We are integrating two applications, where a particular field of the source maps to another field in destination. But their values aren’t so agreeable, for example, say we have a field called OrderStatus in Application1 which maps to a field named OrderStatus in Application2, but the list of possible values are different.&lt;/p&gt;  &lt;div align="center"&gt;   &lt;table align="center" border="1" cellpadding="2" cellspacing="0" width="400"&gt;&lt;tbody&gt;       &lt;tr style="background-color: rgb(192, 192, 192);"&gt;         &lt;td valign="top" width="133"&gt;           &lt;p align="center"&gt;&lt;strong&gt;Field&lt;/strong&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="133"&gt;           &lt;p align="center"&gt;&lt;strong&gt;Application1 &lt;/strong&gt;&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="133"&gt;           &lt;p align="center"&gt;&lt;strong&gt;Application2&lt;/strong&gt;&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="133"&gt;OrderStatus &lt;/td&gt;          &lt;td valign="top" width="133"&gt;1&lt;/td&gt;          &lt;td valign="top" width="133"&gt;Delivered&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="133"&gt;OrderStatus &lt;/td&gt;          &lt;td valign="top" width="133"&gt;2&lt;/td&gt;          &lt;td valign="top" width="133"&gt;Pending&lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;  &lt;p align="center"&gt;Table 1&lt;/p&gt;  &lt;p&gt;How do you go about mapping them? Apparently there are a number of ways to solve the problem as briefly &lt;a title="BizTalk Pattern: Mapping Reference Data" href="http://geekswithblogs.net/michaelstephenson/archive/2006/12/24/101995.aspx" target="_blank"&gt;explained&lt;/a&gt; by Michael Stephenson. The pattern that was suggested to me was to use Cross Referencing Functions. Michael Stephenson’s post explains the underlying concept well, but it falls short of providing a complete example. The &lt;a title="Database Functoids Reference" href="http://msdn.microsoft.com/en-us/library/ee277450%28v=BTS.10%29.aspx" target="_blank"&gt;MSDN&lt;/a&gt; page stops at how to import data for cross reference functoids. What I needed was a simple example as to how to use it. So I decided to do one myself.&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size:130%;"&gt;&lt;strong&gt;&lt;span style="color: rgb(0, 0, 160);"&gt;Solution&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;    &lt;/p&gt;  &lt;p&gt;Lets take the above problem and solve it.&lt;/p&gt;  &lt;p&gt;First we need to have all the data needed (as per Table 1) in our database. For this purpose we will set up the following xml files. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;listOfAppType.xml&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Contains a types of the applications. &lt;/p&gt;  &lt;pre class="code"&gt;&lt;span style="color:blue;"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;xml &lt;/span&gt;&lt;span style="color:red;"&gt;version&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;1.0&lt;/span&gt;" &lt;span style="color:red;"&gt;encoding&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;utf-8&lt;/span&gt;"&lt;span style="color:blue;"&gt;?&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;listOfAppType&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appType&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;Application1&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;description&lt;/span&gt;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appType&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appType&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;Application2&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;description&lt;/span&gt;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appType&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;listOfAppType&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;listOfAppInstance.xml&lt;/strong&gt;&lt;/p&gt;Contains the instance names of the applications&lt;br /&gt;&lt;pre class="code"&gt;&lt;span style="color:blue;"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;xml &lt;/span&gt;&lt;span style="color:red;"&gt;version&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;1.0&lt;/span&gt;" &lt;span style="color:red;"&gt;encoding&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;UTF-8&lt;/span&gt;"&lt;span style="color:blue;"&gt;?&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;listOfAppInstance&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appInstance&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;instance&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;Application1Instance&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;instance&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;Application1&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;description&lt;/span&gt;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appInstance&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appInstance&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;instance&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;Application2Instance&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;instance&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;Application2&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;description&lt;/span&gt;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appInstance&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;listOfAppInstance&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;listOfIDXRef.xml&lt;/strong&gt;&lt;/p&gt;Contains the list of fields to be stored for mapping.&lt;br /&gt;&lt;pre class="code"&gt;&lt;span style="color:blue;"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;xml &lt;/span&gt;&lt;span style="color:red;"&gt;version&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;1.0&lt;/span&gt;" &lt;span style="color:red;"&gt;encoding&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;UTF-8&lt;/span&gt;"&lt;span style="color:blue;"&gt;?&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;listOfIDXRef&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;idXRef&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;OrderStatus&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;description&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;Status of the order&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;description&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;idXRef&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;listOfIDXRef&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;listOfIDXRefData.xml&lt;/strong&gt;&lt;/p&gt;Contains the values of the fields in each application and the common values used to refer to them.&lt;br /&gt;&lt;pre class="code"&gt;&lt;span style="color:blue;"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;xml &lt;/span&gt;&lt;span style="color:red;"&gt;version&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;1.0&lt;/span&gt;" &lt;span style="color:red;"&gt;encoding&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;UTF-8&lt;/span&gt;"&lt;span style="color:blue;"&gt;?&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;listOfIDXRefData&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;idXRef &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;OrderStatus&lt;/span&gt;"&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appInstance &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;Application1Instance&lt;/span&gt;"&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;   &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appID &lt;/span&gt;&lt;span style="color:red;"&gt;commonID&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;D&lt;/span&gt;"&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;1&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appID&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;   &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appID &lt;/span&gt;&lt;span style="color:red;"&gt;commonID&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;P&lt;/span&gt;"&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;2&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appID&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appInstance&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appInstance &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;Application2Instance&lt;/span&gt;"&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;   &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appID &lt;/span&gt;&lt;span style="color:red;"&gt;commonID&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;D&lt;/span&gt;"&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;Delivered&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appID&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;   &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appID &lt;/span&gt;&lt;span style="color:red;"&gt;commonID&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;P&lt;/span&gt;"&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;Pending&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appID&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt; &amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;appInstance&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;idXRef&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;listOfIDXRefData&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;SetupFiles.xml&lt;/strong&gt;&lt;/p&gt;A setup file containing the paths to all these xmls&lt;br /&gt;&lt;pre class="code"&gt;&lt;span style="color:blue;"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;xml &lt;/span&gt;&lt;span style="color:red;"&gt;version&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;1.0&lt;/span&gt;" &lt;span style="color:red;"&gt;encoding&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;UTF-8&lt;/span&gt;"&lt;span style="color:blue;"&gt;?&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Setup-Files&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;App_Type_file&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;G:\Microsoft\Biztalk\Biztalk Server Examples\CrossReferenceFunctoids\listOfAppType.xml&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;App_Type_file&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;App_Instance_file&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;G:\Microsoft\Biztalk\Biztalk Server Examples\CrossReferenceFunctoids\listOfAppInstance.xml&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;App_Instance_file&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;IDXRef_file&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;G:\Microsoft\Biztalk\Biztalk Server Examples\CrossReferenceFunctoids\listOfIDXRef.xml&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;IDXRef_file&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;IDXRef_Data_file&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;G:\Microsoft\Biztalk\Biztalk Server Examples\CrossReferenceFunctoids\listOfIDXRefData.xml&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;IDXRef_Data_file&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Setup-Files&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;Now lets put them into the database. For this will will use the BTSXRefImport tool found in the biztalk directory. Use the following command to do this.&lt;br /&gt;&lt;p&gt;&lt;a href="http://i917.photobucket.com/albums/ad20/rameshsubramanian/Biztalk/Command.png"&gt;&lt;img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="Command[1]" alt="Command[1]" src="http://i917.photobucket.com/albums/ad20/rameshsubramanian/Biztalk/Command.png" border="0" height="346" width="681" /&gt;&lt;/a&gt; &lt;/p&gt;Lets do the mapping part. Drag and drop the Get Common ID functoid and configure its input as follows:&lt;br /&gt;&lt;p&gt;&lt;a href="http://i917.photobucket.com/albums/ad20/rameshsubramanian/Biztalk/GetCommonIDIP.png"&gt;&lt;img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="GetCommonIDIP[1]" alt="GetCommonIDIP[1]" src="http://i917.photobucket.com/albums/ad20/rameshsubramanian/Biztalk/GetCommonIDIP.png" border="0" height="516" width="468" /&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;The first Input being the name of the common field, the second the name of the application instance and the third being the value for the application&lt;/p&gt;Then drag and drop the Get Application ID functoid and configure its input as follows:&lt;br /&gt;&lt;p&gt;&lt;a href="http://i917.photobucket.com/albums/ad20/rameshsubramanian/Biztalk/GetApplicatIDIP.png"&gt;&lt;img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="GetApplicatIDIP[1]" alt="GetApplicatIDIP[1]" src="http://i917.photobucket.com/albums/ad20/rameshsubramanian/Biztalk/GetApplicatIDIP.png" border="0" height="516" width="468" /&gt;&lt;/a&gt; &lt;/p&gt;The first Input being the name of the common field, the second the name of the application instance and the third being the common id from the Get Common Id functoid.&lt;br /&gt;&lt;p&gt;&lt;a href="http://i917.photobucket.com/albums/ad20/rameshsubramanian/Biztalk/Map.png"&gt;&lt;img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="Map[1]" alt="Map[1]" src="http://i917.photobucket.com/albums/ad20/rameshsubramanian/Biztalk/Map.png" border="0" height="188" width="1025" /&gt;&lt;/a&gt; &lt;/p&gt;Let test our Map. Given the following input:&lt;br /&gt;&lt;pre class="code"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ns0:Root &lt;/span&gt;&lt;span style="color:red;"&gt;xmlns:ns0&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;http://CrossRefrence.Schema1&lt;/span&gt;"&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;OrderStatus&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;1&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;OrderStatus&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ns0:Root&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;Our Map gives the following output:&lt;br /&gt;&lt;pre class="code"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ns0:Root &lt;/span&gt;&lt;span style="color:red;"&gt;xmlns:ns0&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;"&lt;span style="color:blue;"&gt;http://CrossRefrence.Schema2&lt;/span&gt;"&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;OrderStatus&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;Delivered&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;OrderStatus&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ns0:Root&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-3052282277447188892?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/3052282277447188892/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=3052282277447188892" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/3052282277447188892?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/3052282277447188892?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2010/08/how-to-use-cross-referencing-functoids.html" title="How to use Cross Referencing Functoids in Biztalk" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://i917.photobucket.com/albums/ad20/rameshsubramanian/Biztalk/th_Command.png" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;A08EQX06fip7ImA9WxFWE08.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-3919650368309629014</id><published>2010-05-31T23:43:00.000-07:00</published><updated>2010-05-31T11:16:40.316-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-31T11:16:40.316-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio" /><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft" /><title>String, string, Byte, byte, int, Int32....</title><content type="html">I have often wondered while typing “string” in Visual Studio (the IntelliSense shows &lt;span style="color:#000099;"&gt;string&lt;/span&gt; and &lt;span style="color:#33ccff;"&gt;String&lt;/span&gt;), what’s the difference between a string and String? NONE&lt;br /&gt;&lt;br /&gt;Then why have two names for the same data type? One is the Base Class Library (BCL) name(String) and the other is a short form for it. Since these basic data types are frequently used we are given short forms which are much easier to use e.g. &lt;span style="color:#3333ff;"&gt;int&lt;/span&gt; for &lt;span style="color:#33ccff;"&gt;Int32&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;For the compiler it doesn’t make any difference, whether you had used an int or Int32. Consider the IL (Intermediate Language) for the following piece of code:&lt;br /&gt;&lt;br /&gt;&lt;script src="http://gist.github.com/420092.js?file=Program.cs"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;IL Code:&lt;br /&gt;&lt;a href="http://i917.photobucket.com/albums/ad20/rameshsubramanian/DotNet/ILDASMstring.png"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 640px; DISPLAY: block; HEIGHT: 400px; CURSOR: hand" border="0" alt="" src="http://i917.photobucket.com/albums/ad20/rameshsubramanian/DotNet/ILDASMstring.png" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-3919650368309629014?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/3919650368309629014/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=3919650368309629014" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/3919650368309629014?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/3919650368309629014?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2010/05/string-string-byte-byte-int-int32.html" title="String, string, Byte, byte, int, Int32...." /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://i917.photobucket.com/albums/ad20/rameshsubramanian/DotNet/th_ILDASMstring.png" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkQAR3k7fCp7ImA9WxFQFEw.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-2895087726854957080</id><published>2010-05-08T23:31:00.000-07:00</published><updated>2010-05-09T08:19:06.704-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-05-09T08:19:06.704-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="csc.exe" /><category scheme="http://www.blogger.com/atom/ns#" term="Command Prompt" /><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio" /><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft" /><title>Using the Command prompt to run C# program</title><content type="html">For those of us who had gone on the fast track to learn C# (remember I was into java before the leap to .NET) Visual Studio IDE does a great job in encapsulating the details. For a beginner it just looks great, just write your code, hit F5 (or) run. You are done! But as you move on you begin to wonder how do you do it the old fashioned way (Command Line)?&lt;br /&gt;&lt;br /&gt;That's exactly what I discovered learning C# 4.0. You have this tool called &lt;a href="http://msdn.microsoft.com/en-us/library/78f4aasd.aspx"&gt;csc.exe&lt;/a&gt; (like javac), Go to your Visual Studio command prompt, navigate to the folder that has you program and do this:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;&gt; csc.exe yourprogramname.cs&lt;/span&gt; &lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;This compliles your code and generates an exe. You can run your code using:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;blockquote&gt;&lt;span style="font-family:courier new;"&gt;&gt; youprogramname.exe&lt;/span&gt; &lt;/blockquote&gt;&lt;/span&gt;&lt;br /&gt;Replace yourprogramname with the name of your program.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-2895087726854957080?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/2895087726854957080/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=2895087726854957080" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/2895087726854957080?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/2895087726854957080?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2010/05/using-command-prompt-o-run-c-program.html" title="Using the Command prompt to run C# program" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DEcHRHc-eip7ImA9WxNQF04.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-4537447005387598920</id><published>2009-09-23T12:53:00.001-07:00</published><updated>2009-09-23T13:00:35.952-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-23T13:00:35.952-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight" /><title>Silverlight DatePicker Validation States</title><content type="html">&lt;p align="justify"&gt;One of the cool features of silverlight is the error glyphs it automatically comes up with, when data validation for an input control fails. No coding required what so ever!&lt;/p&gt;  &lt;p&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/DatePickerValidation23-09-2009.jpg"&gt; &lt;/p&gt;  &lt;p align="center"&gt;&lt;em&gt;Silverlight Error Glyph&lt;/em&gt;&lt;/p&gt;  &lt;p align="left"&gt;&lt;strong&gt;The Problem&lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;I had to use DatePicker control and validate the selected date based on some business logic. Everything was was set up, and when I tested it there was no error glyph showing! So I started Debugging the application and found that there was nothing wrong with the logic, and the DatePicker is in fact being invalidated. Just that the DatePicker isn’t showing the error glyph like the other controls. &lt;/p&gt;  &lt;p align="justify"&gt;I did a quick Google search and ended up empty other than a few silverlight forum posts [&lt;a title="DatePicker doesn't do validation states?" href="http://betaforums.silverlight.net/forums/p/121531/276515.aspx" target="_blank"&gt;1&lt;/a&gt;,&lt;a title="DatePicker has no InvalidFocused or InvalidUnfocused visual states" href="http://betaforums.silverlight.net/forums/t/118177.aspx" target="_blank"&gt;2&lt;/a&gt;]. What I did learn from these posts is DatePicker does get invalidated but there are no view states associated with the DatePicker template. &lt;/p&gt;  &lt;p align="justify"&gt;The same could be confirmed from &lt;a title="DatePicker’s Styles and Template" href="http://msdn.microsoft.com/en-us/library/cc278067%28VS.95%29.aspx" target="_blank"&gt;DatePicker’s Styles and Template Page&lt;/a&gt; (Though the table containing Visual States mention InvalidFocused and InvalidUnfocused states, the template doesn’t have them) of the MSDN.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;Solution  &lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Pretty Simple, edit the DatePicker’s template to support these states! &lt;/p&gt;  &lt;p align="justify"&gt;We need to have an error glyph similar to that of say the TextBox. So lets take a look at the Template of the TextBox and, we get the following validation states:&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;div style="padding: 5px; width: 657px; display: block; float: none; margin-left: auto; margin-right: auto;" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:75d69113-57fc-4be8-9d89-771dbd8011bb" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: 1px solid rgb(0, 0, 128); font-family: 'Courier New',Courier,Monospace; font-size: 10pt;"&gt;&lt;br /&gt;&lt;div style="padding: 2px 5px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; overflow: auto; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; max-height: 300px;"&gt;&lt;br /&gt;&lt;ol style="margin: 0pt; background: rgb(244, 245, 247) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; white-space: nowrap;"&gt;&lt;br /&gt;&lt;li&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualStateGroup&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="ValidationStates"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(232, 233, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Valid"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="InvalidUnfocused"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(232, 233, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;        &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="ValidationErrorElement"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Visibility"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(232, 233, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;            &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;                &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(232, 233, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;                    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Visibility&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Visible&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Visibility&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;                &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(232, 233, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;            &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;        &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(232, 233, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(232, 233, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="InvalidFocused"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(232, 233, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;        &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="ValidationErrorElement"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Visibility"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;            &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(232, 233, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;                &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;                    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Visibility&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Visible&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Visibility&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(232, 233, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;                &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;            &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(232, 233, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;        &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;        &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="validationTooltip"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="IsOpen"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(232, 233, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;            &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;                &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(232, 233, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;                    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;System&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Boolean&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;True&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;System&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Boolean&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;                &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(232, 233, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;            &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;        &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(232, 233, 235) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;The &lt;span style="color: red;"&gt;Storyboard.TargetName&lt;/span&gt; Property of the Invalid states refer to an Border element named &lt;span style="color: blue;"&gt;ValidationErrorElement. &lt;/span&gt;&lt;/p&gt;  &lt;div style="padding: 5px; width: 657px; display: block; float: none; margin-left: auto; margin-right: auto;" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:015eb8a0-1c41-40e1-a045-66619117667d" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: 1px solid rgb(0, 0, 128); font-family: 'Courier New',Courier,Monospace; font-size: 10pt;"&gt;&lt;br /&gt;&lt;div style="padding: 2px 5px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; overflow: auto; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; max-height: 300px;"&gt;&lt;br /&gt;&lt;ol style="margin: 0pt; background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; white-space: nowrap;"&gt;&lt;br /&gt;&lt;li&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Border&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="ValidationErrorElement"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Visibility&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Collapsed"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderBrush&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FFDB000C"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderThickness&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; CornerRadius&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ToolTipService.ToolTip&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ToolTip&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="validationTooltip"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; DataContext&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Binding&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; RelativeSource&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;={&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;RelativeSource&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; TemplatedParent&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}}"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Template&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;StaticResource&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; ValidationToolTipTemplate&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Placement&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Right"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; PlacementTarget&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Binding&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; RelativeSource&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;={&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;RelativeSource&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; TemplatedParent&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}}"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;        &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ToolTip.Triggers&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;            &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;EventTrigger&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; RoutedEvent&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Canvas.Loaded"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;                &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;BeginStoryboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;                    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;                        &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="validationTooltip"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="IsHitTestVisible"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                                 &lt;span style="color: rgb(0, 0, 255);"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;                                 &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                                 &lt;span style="color: rgb(0, 0, 255);"&gt;        &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;System&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Boolean&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;true&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;System&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Boolean&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;                                 &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                                 &lt;span style="color: rgb(0, 0, 255);"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;                        &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;                    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;                &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;BeginStoryboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;            &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;EventTrigger&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;        &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ToolTip.Triggers&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ToolTip&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ToolTipService.ToolTip&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Height&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="12"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; HorizontalAlignment&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Right"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Margin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1,-4,-4,0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; VerticalAlignment&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Top"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="12"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Background&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Transparent"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Path&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Fill&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FFDC000C"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Margin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1,3,0,0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Data&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="M 1,0 L6,0 A 2,2 90 0 1 8,2 L8,7 z"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Path&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Fill&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#ffffff"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Margin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1,3,0,0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Data&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="M 0,0 L2,0 L 8,6 L8,8"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Border&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;  &lt;p&gt;So we will customize our DatePicker’s template to include these. Here is our DatePicker template which will do validation states.&lt;/p&gt;  &lt;div style="padding: 5px; width: 657px; display: block; float: none; margin-left: auto; margin-right: auto;" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:1dd2b913-fe5d-40d9-b0a6-4277399458ad" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: 1px solid rgb(0, 0, 128); font-family: 'Courier New',Courier,Monospace; font-size: 10pt;"&gt;&lt;br /&gt;&lt;div style="padding: 2px 5px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; overflow: auto; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; max-height: 300px;"&gt;&lt;br /&gt;&lt;ol style="margin: 0pt; background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; white-space: nowrap;"&gt;&lt;br /&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Style&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Key&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="DatePickerStyle"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; TargetType&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="controls:DatePicker"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Setter&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Property&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="IsTabStop"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="False"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Setter&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Property&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Background"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FFFFFFFF"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Setter&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Property&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Padding"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="2"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Setter&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Property&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="SelectionBackground"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FF444444"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Setter&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Property&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="BorderBrush"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Setter.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;LinearGradientBrush&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; EndPoint&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;=".5,0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; StartPoint&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;=".5,1"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;GradientStop&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Color&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FF617584"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Offset&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;GradientStop&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Color&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FF718597"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Offset&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0.375"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;GradientStop&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Color&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FF8399A9"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Offset&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0.375"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;GradientStop&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Color&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FFA3AEB9"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Offset&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;LinearGradientBrush&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Setter.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Setter&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Setter&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Property&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="BorderThickness"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Setter&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Property&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Template"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Setter.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ControlTemplate&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; TargetType&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="controls:DatePicker"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Root"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid.Resources&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;SolidColorBrush&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Key&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="DisabledBrush"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Color&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#8CFFFFFF"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ControlTemplate&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Key&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="DropDownButtonTemplate"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; TargetType&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Button"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualStateManager.VisualStateGroups&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualStateGroup&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="CommonStates"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualStateGroup.Transitions&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualTransition&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; GeneratedDuration&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualTransition&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; GeneratedDuration&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0:0:0.1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; To&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="MouseOver"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualTransition&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; GeneratedDuration&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0:0:0.1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; To&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Pressed"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualStateGroup.Transitions&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Normal"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="MouseOver"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimation&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Duration&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Background"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="(Border.Background).(SolidColorBrush.Color)"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; To&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FF448DCA"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BeginTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Duration&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="00:00:00.001"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="BackgroundGradient"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;SplineColorKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#7FFFFFFF"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BeginTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Duration&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="00:00:00.001"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="BackgroundGradient"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;SplineColorKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#CCFFFFFF"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BeginTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Duration&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="00:00:00.001"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="BackgroundGradient"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;SplineColorKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#F2FFFFFF"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Pressed"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BeginTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Duration&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="00:00:00.001"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Background"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="(Border.Background).(SolidColorBrush.Color)"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;SplineColorKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FF448DCA"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DoubleAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BeginTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Duration&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="00:00:00.001"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Highlight"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="(UIElement.Opacity)"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;SplineDoubleKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DoubleAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BeginTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Duration&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="00:00:00.001"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="BackgroundGradient"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;SplineColorKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#EAFFFFFF"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BeginTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Duration&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="00:00:00.001"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="BackgroundGradient"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;SplineColorKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#C6FFFFFF"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BeginTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Duration&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="00:00:00.001"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="BackgroundGradient"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;SplineColorKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#6BFFFFFF"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BeginTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Duration&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="00:00:00.001"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="BackgroundGradient"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;SplineColorKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#F4FFFFFF"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColorAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Disabled"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DoubleAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BeginTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Duration&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="00:00:00.001"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="DisabledVisual"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="(UIElement.Opacity)"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;SplineDoubleKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DoubleAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualStateGroup&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualStateManager.VisualStateGroups&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Height&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="18"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; HorizontalAlignment&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Center"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Margin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; VerticalAlignment&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Center"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="19"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Background&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#11FFFFFF"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid.RowDefinitions&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;RowDefinition&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Height&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="23*"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;RowDefinition&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Height&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="19*"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;RowDefinition&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Height&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="19*"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;RowDefinition&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Height&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="19*"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid.RowDefinitions&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid.ColumnDefinitions&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColumnDefinition&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="20*"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColumnDefinition&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="20*"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColumnDefinition&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="20*"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColumnDefinition&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="20*"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid.ColumnDefinitions&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Border&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Highlight"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Margin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="-1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Opacity&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.ColumnSpan&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="4"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.Row&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.RowSpan&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="4"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderBrush&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FF6DBDD1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderThickness&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; CornerRadius&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0,0,1,1"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Border&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Background"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Margin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0,-1,0,0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Opacity&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.ColumnSpan&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="4"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.Row&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.RowSpan&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="3"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Background&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FF1F3B53"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderBrush&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FFFFFFFF"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderThickness&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; CornerRadius&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;=".5"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Border&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="BackgroundGradient"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Margin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0,-1,0,0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Opacity&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.ColumnSpan&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="4"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.Row&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.RowSpan&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="3"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderBrush&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#BF000000"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderThickness&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; CornerRadius&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;=".5"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Border.Background&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;LinearGradientBrush&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; EndPoint&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;=".7,1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; StartPoint&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;=".7,0"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;GradientStop&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Color&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FFFFFFFF"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Offset&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;GradientStop&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Color&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#F9FFFFFF"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Offset&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0.375"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;GradientStop&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Color&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#E5FFFFFF"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Offset&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0.625"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;GradientStop&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Color&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#C6FFFFFF"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Offset&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;LinearGradientBrush&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Border.Background&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Border&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Rectangle&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; StrokeThickness&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.ColumnSpan&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="4"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.RowSpan&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Rectangle.Stroke&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;LinearGradientBrush&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; EndPoint&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0.48,-1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; StartPoint&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0.48,1.25"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;GradientStop&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Color&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FF494949"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;GradientStop&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Color&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FF9F9F9F"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Offset&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;LinearGradientBrush&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Rectangle.Stroke&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Rectangle.Fill&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;LinearGradientBrush&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; EndPoint&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0.3,-1.1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; StartPoint&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0.46,1.6"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;GradientStop&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Color&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FF4084BD"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;GradientStop&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Color&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FFAFCFEA"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Offset&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;LinearGradientBrush&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Rectangle.Fill&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Rectangle&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Path&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Fill&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FF2F2F2F"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Stretch&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Fill"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; HorizontalAlignment&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Center"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Margin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="4,3,4,3"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; VerticalAlignment&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Center"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; RenderTransformOrigin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0.5,0.5"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.Column&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.ColumnSpan&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="4"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.Row&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.RowSpan&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="3"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Data&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="M11.426758,8.4305077 L11.749023,8.4305077 L11.749023,16.331387 L10.674805,16.331387 L10.674805,10.299648 L9.0742188,11.298672 L9.0742188,10.294277 C9.4788408,10.090176 9.9094238,9.8090878 10.365967,9.4510155 C10.82251,9.0929432 11.176106,8.7527733 11.426758,8.4305077 z M14.65086,8.4305077 L18.566387,8.4305077 L18.566387,9.3435936 L15.671368,9.3435936 L15.671368,11.255703 C15.936341,11.058764 16.27293,10.960293 16.681133,10.960293 C17.411602,10.960293 17.969301,11.178717 18.354229,11.615566 C18.739157,12.052416 18.931622,12.673672 18.931622,13.479336 C18.931622,15.452317 18.052553,16.438808 16.294415,16.438808 C15.560365,16.438808 14.951641,16.234707 14.468243,15.826504 L14.881817,14.929531 C15.368796,15.326992 15.837872,15.525723 16.289043,15.525723 C17.298809,15.525723 17.803692,14.895514 17.803692,13.635098 C17.803692,12.460618 17.305971,11.873379 16.310528,11.873379 C15.83071,11.873379 15.399232,12.079271 15.016094,12.491055 L14.65086,12.238613 z"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Ellipse&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Fill&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FFFFFFFF"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; StrokeThickness&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Height&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="3"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; HorizontalAlignment&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Center"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; VerticalAlignment&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Center"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="3"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.ColumnSpan&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="4"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Border&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="DisabledVisual"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Opacity&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.ColumnSpan&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="4"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.Row&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.RowSpan&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="4"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderBrush&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#B2FFFFFF"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderThickness&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; CornerRadius&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0,0,.5,.5"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ControlTemplate&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid.Resources&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualStateManager.VisualStateGroups&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualStateGroup&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="CommonStates"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Normal"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Disabled"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DoubleAnimation&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Duration&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="DisabledVisual"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Opacity"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; To&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualStateGroup&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualStateGroup&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="ValidationStates"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Valid"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="InvalidUnfocused"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="ValidationErrorElement"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Visibility"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Visibility&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Visible&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Visibility&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="InvalidFocused"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="ValidationErrorElement"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Visibility"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Visibility&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Visible&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Visibility&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="validationTooltip"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="IsOpen"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;System&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Boolean&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;True&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;System&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Boolean&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualState&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualStateGroup&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;VisualStateManager.VisualStateGroups&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid.ColumnDefinitions&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColumnDefinition&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="*"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColumnDefinition&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Auto"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid.ColumnDefinitions&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;System_Windows_Controls_Primitives&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DatePickerTextBox&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="TextBox"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Background&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;TemplateBinding&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Background&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderBrush&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;TemplateBinding&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderBrush&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderThickness&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;TemplateBinding&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderThickness&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Padding&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;TemplateBinding&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Padding&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.Column&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; SelectionBackground&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;TemplateBinding&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; SelectionBackground&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Button&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Button"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Margin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="2,0,2,0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="20"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderBrush&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;TemplateBinding&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderBrush&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderThickness&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;TemplateBinding&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderThickness&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Foreground&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;TemplateBinding&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Foreground&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Template&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;StaticResource&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; DropDownButtonTemplate&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.Column&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="DisabledVisual"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; IsHitTestVisible&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="False"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Opacity&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.ColumnSpan&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="2"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid.ColumnDefinitions&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColumnDefinition&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="*"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ColumnDefinition&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Auto"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid.ColumnDefinitions&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Rectangle&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Fill&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#8CFFFFFF"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; RadiusX&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; RadiusY&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Rectangle&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Fill&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#8CFFFFFF"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; RadiusX&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; RadiusY&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Height&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="18"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Margin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="2,0,2,0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="19"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.Column&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Popup&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Popup"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Border&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="ValidationErrorElement"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Visibility&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Collapsed"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderBrush&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FFDB000C"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; BorderThickness&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; CornerRadius&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ToolTipService.ToolTip&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ToolTip&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="validationTooltip"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; DataContext&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Binding&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; RelativeSource&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;={&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;RelativeSource&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; TemplatedParent&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}}"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Template&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;StaticResource&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; ValidationToolTipTemplate&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Placement&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Right"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; PlacementTarget&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Binding&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; RelativeSource&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;={&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;RelativeSource&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; TemplatedParent&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}}"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ToolTip.Triggers&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;EventTrigger&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; RoutedEvent&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Canvas.Loaded"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;BeginStoryboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetName&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="validationTooltip"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Storyboard.TargetProperty&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="IsHitTestVisible"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; KeyTime&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;System&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Boolean&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;true&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;System&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Boolean&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DiscreteObjectKeyFrame&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ObjectAnimationUsingKeyFrames&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Storyboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;BeginStoryboard&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;EventTrigger&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ToolTip.Triggers&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ToolTip&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ToolTipService.ToolTip&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Height&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="12"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; HorizontalAlignment&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Right"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Margin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1,-4,-4,0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; VerticalAlignment&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Top"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="12"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Background&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Transparent"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Path&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Fill&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#FFDC000C"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Margin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1,3,0,0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Data&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="M 1,0 L6,0 A 2,2 90 0 1 8,2 L8,7 z"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Path&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Fill&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="#ffffff"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Margin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1,3,0,0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Data&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="M 0,0 L2,0 L 8,6 L8,8"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Border&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Grid&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;                  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ControlTemplate&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;              &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Setter.Value&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: rgb(243, 243, 243) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;          &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Setter&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color: rgb(163, 21, 21);"&gt;      &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Style&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;p&gt;Place this in the &lt;em&gt;App.xaml &lt;/em&gt;and refer this style in your DatePicker Control.  &lt;/p&gt;  &lt;div style="padding: 5px; width: 657px; display: block; float: none; margin-left: auto; margin-right: auto;" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:19b48cb2-4d86-47b0-962d-6eaa156e4bf4" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: 1px solid rgb(0, 0, 128); font-family: 'Courier New',Courier,Monospace; font-size: 10pt;"&gt;&lt;br /&gt;&lt;div style="padding: 2px 5px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; overflow: auto; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; max-height: 300px;"&gt;&lt;br /&gt;&lt;ol style="margin: 0pt; background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;&lt;br /&gt;&lt;li&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;controls&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;DatePicker&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; x&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Name&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="deliverlyDate"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Style&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;StaticResource&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; DatePickerStyle&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;}"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; VerticalAlignment&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Top"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; SelectedDate&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="{&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;Binding&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Date&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;,&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Mode&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;=TwoWay,&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; NotifyOnValidationError&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;=True,&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; ValidatesOnExceptions&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;=True}"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; HorizontalAlignment&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Center"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Margin&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="0"&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; Grid.Column&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="1"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;p&gt;Our DatePicker now behaves just like other controls during invalid states:&lt;/p&gt;  &lt;p&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/DatePickerValidation2-23-09-2009.jpg"&gt; &lt;/p&gt;  &lt;p align="center"&gt;&lt;em&gt;DatePicker with Validation States&lt;/em&gt;&lt;/p&gt;  &lt;p align="left"&gt;&lt;strong&gt;Demo:&lt;/strong&gt;&lt;/p&gt;  &lt;div style="margin: 0px; padding: 0px; display: inline; float: none;" id="scid:{7D7E1B1B-BB15-44b5-AC22-DF49F6B00FD3}:cbde267c-a8ea-46ed-bdaf-18973e9e8515" class="wlWriterEditableSmartContent"&gt;   &lt;iframe src="http://silverlight.services.live.com/invoke/105225/CoustomDatePicker/iframe.html" style="width: 490px; height: 200px;" width="490" frameborder="0" height="74" scrolling="no"&gt;&lt;/iframe&gt; &lt;/div&gt;  &lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 0px; padding: 0px; display: inline; float: none;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:8ae24141-7dd3-4dca-9471-0d666065bba2" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Silverlight" rel="tag"&gt;Silverlight&lt;/a&gt;,&lt;a href="http://technorati.com/tags/DatePicker" rel="tag"&gt;DatePicker&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Validation" rel="tag"&gt;Validation&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"&gt;&lt;a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/1c559610-0db8-4d7d-b015-57e3952f729f/" title="Reblog this post [with Zemanta]"&gt;&lt;img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=1c559610-0db8-4d7d-b015-57e3952f729f" alt="Reblog this post [with Zemanta]"&gt;&lt;/a&gt;&lt;span class="zem-script more-related pretty-attribution"&gt;&lt;script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"&gt;&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-4537447005387598920?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/4537447005387598920/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=4537447005387598920" title="12 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/4537447005387598920?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/4537447005387598920?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2009/09/silverlight-datepicker-validation.html" title="Silverlight DatePicker Validation States" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><thr:total>12</thr:total></entry><entry gd:etag="W/&quot;CUYNR38zfip7ImA9WxNREUo.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-6837910777704531258</id><published>2009-08-29T07:49:00.000-07:00</published><updated>2009-09-05T10:53:16.186-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-05T10:53:16.186-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Silverlight 3.0" /><title>Silverlight DataGrid Control</title><content type="html">&lt;div style="text-align: justify;"&gt;As I said in my previous post, that I would be blogging more about Silverlight, and other Microsoft technologies.&lt;br /&gt;&lt;br /&gt;In this is post we will look at some basics of Silverlight DataGrid control. One of the chores of professional programmers working on business applications is to display data. And this is where DataGrid control comes into picture.&lt;br /&gt;&lt;br /&gt;The Silverlights DataGrid control is highly flexibly and customizable control. But for now let’s look into the basics of it.&lt;br /&gt;&lt;br /&gt;First create a new silverlight application. Name it DataGridDemo&lt;br /&gt;&lt;br /&gt;Step 1: Right click the Silverlight application, add new Item and add a silverlight user control. Name it SimpleDataGrid.xaml or anything that pleases you. It generates a usercontrol, with a grid layout control.&lt;br /&gt;&lt;br /&gt;Step 2: Now let’s add some rows to the Grid.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step 3: Add a DataGrid from the toolbox or manually typing the xaml code for the same. If  you are to do it manually ensure that the System.Windows.Controls namespace is added to the usercontrol.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step 4: Now we need some data to populate the gird. Let’s define the class that defines the structure of this data. For this demo let’s assume that the grid holds dummy employee details information.  Right click the DataGridDemo Application, and Add a class.&lt;br /&gt;&lt;br /&gt;Step 4: Now set the AutoGenerateColumns property of the DataGrid to true. In the code behind of our Xaml we will take care of the binding. Our DataGrid will load the data when the DataGrid is loaded. So we will create an employee List with dummy employee details using the C# new collection initialize feature. And we will set the DataGrid’s ItemsSource property to this list.&lt;br /&gt;&lt;br /&gt;Step 4: Build and view the output.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In real world applications we would have literally thousands of data to show. Which means our DataGrid would also grow making it difficult for the user.  To overcome this issue the DataGrid comes with the height and width property that can be set, the vertical and horizontal scroll bars appear automatically when the DataGrid grows beyond what is specified in these properties.&lt;br /&gt;&lt;br /&gt;Here is the final Mark up:&lt;br /&gt;&lt;br /&gt;&lt;div class="scrollbox"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: Courier New; font-size: 10pt; color: black; background: #F4F4F4; width:1000px"&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;UserControl&lt;/span&gt;&lt;span style="color: red;"&gt; xmlns&lt;/span&gt;&lt;span style="color: blue;"&gt;:&lt;/span&gt;&lt;span style="color: red;"&gt;data&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data&amp;quot;&lt;/span&gt; &lt;span style="color: red;"&gt; x&lt;/span&gt;&lt;span style="color: blue;"&gt;:&lt;/span&gt;&lt;span style="color: red;"&gt;Class&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;DataGridDemo.SimpleDataGrid&amp;quot;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt; xmlns&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&amp;quot;&lt;/span&gt; &lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt; xmlns&lt;/span&gt;&lt;span style="color: blue;"&gt;:&lt;/span&gt;&lt;span style="color: red;"&gt;x&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;http://schemas.microsoft.com/winfx/2006/xaml&amp;quot;&lt;/span&gt; &lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: red;"&gt; Width&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;400&amp;quot;&lt;/span&gt;&lt;span style="color: red;"&gt; Height&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;300&amp;quot;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5&lt;/span&gt;&amp;nbsp;&lt;span style="color: #a31515;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;Grid&lt;/span&gt;&lt;span style="color: red;"&gt; x&lt;/span&gt;&lt;span style="color: blue;"&gt;:&lt;/span&gt;&lt;span style="color: red;"&gt;Name&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;LayoutRoot&amp;quot;&lt;/span&gt;&lt;span style="color: red;"&gt; Background&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;White&amp;quot;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;6&lt;/span&gt;&amp;nbsp;&lt;span style="color: #a31515;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;Grid.RowDefinitions&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;7&lt;/span&gt;&amp;nbsp;&lt;span style="color: #a31515;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;RowDefinition&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515;"&gt;RowDefinition&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;8&lt;/span&gt;&amp;nbsp;&lt;span style="color: #a31515;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;RowDefinition&lt;/span&gt;&lt;span style="color: red;"&gt; Height&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;Auto&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515;"&gt;RowDefinition&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;9&lt;/span&gt;&amp;nbsp;&lt;span style="color: #a31515;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515;"&gt;Grid.RowDefinitions&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;10&lt;/span&gt;&amp;nbsp;&lt;span style="color: #a31515;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;data&lt;/span&gt;&lt;span style="color: blue;"&gt;:&lt;/span&gt;&lt;span style="color: #a31515;"&gt;DataGrid&lt;/span&gt;&lt;span style="color: red;"&gt; x&lt;/span&gt;&lt;span style="color: blue;"&gt;:&lt;/span&gt;&lt;span style="color: red;"&gt;Name&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;grdEmployee&amp;quot;&lt;/span&gt;&lt;span style="color: red;"&gt; AutoGenerateColumns&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;True&amp;quot;&lt;/span&gt;&lt;span style="color: red;"&gt; HeadersVisibility&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;All&amp;quot;&lt;/span&gt;&lt;span style="color: red;"&gt; Grid.Row&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;0&amp;quot;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;11&lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;12&lt;/span&gt;&amp;nbsp;&lt;span style="color: #a31515;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515;"&gt;data&lt;/span&gt;&lt;span style="color: blue;"&gt;:&lt;/span&gt;&lt;span style="color: #a31515;"&gt;DataGrid&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;13&lt;/span&gt;&amp;nbsp;&lt;span style="color: #a31515;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;data&lt;/span&gt;&lt;span style="color: blue;"&gt;:&lt;/span&gt;&lt;span style="color: #a31515;"&gt;DataPager&lt;/span&gt;&lt;span style="color: red;"&gt; Source&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;{&lt;/span&gt;&lt;span style="color: #a31515;"&gt;Binding&lt;/span&gt;&lt;span style="color: red;"&gt; ItemsSource&lt;/span&gt;&lt;span style="color: blue;"&gt;,&lt;/span&gt;&lt;span style="color: red;"&gt; ElementName&lt;/span&gt;&lt;span style="color: blue;"&gt;=grdEmployee}&amp;quot;&lt;/span&gt;&lt;span style="color: red;"&gt; PageSize&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;5&amp;quot;&lt;/span&gt;&lt;span style="color: red;"&gt; Grid.Row&lt;/span&gt;&lt;span style="color: blue;"&gt;=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515;"&gt;data&lt;/span&gt;&lt;span style="color: blue;"&gt;:&lt;/span&gt;&lt;span style="color: #a31515;"&gt;DataPager&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;14&lt;/span&gt;&amp;nbsp;&lt;span style="color: #a31515;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515;"&gt;Grid&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;15&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515;"&gt;UserControl&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Here is the Code behind:&lt;br /&gt;&lt;br /&gt;&lt;div class="scrollbox"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: Courier New; font-size: 10pt; color: black; background: #F4F4F4; width:1170px;"&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;using&lt;/span&gt; System;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;using&lt;/span&gt; System.Collections.Generic;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;using&lt;/span&gt; System.Linq;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;using&lt;/span&gt; System.Net;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;using&lt;/span&gt; System.Windows;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;6&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;using&lt;/span&gt; System.Windows.Controls;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;7&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;using&lt;/span&gt; System.Windows.Documents;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;8&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;using&lt;/span&gt; System.Windows.Input;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;9&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;using&lt;/span&gt; System.Windows.Media;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;10&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;using&lt;/span&gt; System.Windows.Media.Animation;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;11&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;using&lt;/span&gt; System.Windows.Shapes;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;12&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;using&lt;/span&gt; org.RameshSubramanian.DataGridDemo.Model;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;13&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;using&lt;/span&gt; System.Windows.Data;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;14&lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;15&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;namespace&lt;/span&gt; DataGridDemo&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;16&lt;/span&gt;&amp;nbsp;{&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;17&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;partial&lt;/span&gt; &lt;span style="color: blue;"&gt;class&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;SimpleDataGrid&lt;/span&gt; : &lt;span style="color: #2b91af;"&gt;UserControl&lt;/span&gt;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;18&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;19&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;public&lt;/span&gt; SimpleDataGrid()&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;20&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;21&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; InitializeComponent();&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;22&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; grdEmployee.Loaded += &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;RoutedEventHandler&lt;/span&gt;(grdEmployee_Loaded);&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;23&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;24&lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;25&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;void&lt;/span&gt; grdEmployee_Loaded(&lt;span style="color: blue;"&gt;object&lt;/span&gt; sender, &lt;span style="color: #2b91af;"&gt;RoutedEventArgs&lt;/span&gt; e)&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;26&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;27&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: #2b91af;"&gt;List&lt;/span&gt;&amp;lt;&lt;span style="color: #2b91af;"&gt;Employee&lt;/span&gt;&amp;gt; empList = &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;List&lt;/span&gt;&amp;lt;&lt;span style="color: #2b91af;"&gt;Employee&lt;/span&gt;&amp;gt;{ &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;Employee&lt;/span&gt;{ EmpId = 1000, FirstName = &lt;span style="color: #a31515;"&gt;&amp;quot;Ramesh&amp;quot;&lt;/span&gt;, LastName = &lt;span style="color: #a31515;"&gt;&amp;quot;Subramanian&amp;quot;&lt;/span&gt;, DeptId = 10}, &lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;28&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;Employee&lt;/span&gt;{ EmpId = 1001, FirstName = &lt;span style="color: #a31515;"&gt;&amp;quot;Raja&amp;quot;&lt;/span&gt;, LastName = &lt;span style="color: #a31515;"&gt;&amp;quot;Ravanan&amp;quot;&lt;/span&gt;, DeptId = 10}, &lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;29&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;Employee&lt;/span&gt;{ EmpId = 1002, FirstName = &lt;span style="color: #a31515;"&gt;&amp;quot;Jayanth&amp;quot;&lt;/span&gt;, LastName = &lt;span style="color: #a31515;"&gt;&amp;quot;Chintaparti&amp;quot;&lt;/span&gt;, DeptId = 20},&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;30&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;Employee&lt;/span&gt;{ EmpId = 1003, FirstName = &lt;span style="color: #a31515;"&gt;&amp;quot;Prakash&amp;quot;&lt;/span&gt;, LastName = &lt;span style="color: #a31515;"&gt;&amp;quot;Sadhasivam&amp;quot;&lt;/span&gt;, DeptId = 20},&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;31&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;Employee&lt;/span&gt;{ EmpId = 1004, FirstName = &lt;span style="color: #a31515;"&gt;&amp;quot;Smitha&amp;quot;&lt;/span&gt;, LastName = &lt;span style="color: #a31515;"&gt;&amp;quot;Koshy&amp;quot;&lt;/span&gt;, DeptId = 30},&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;32&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;Employee&lt;/span&gt;{ EmpId = 1005, FirstName = &lt;span style="color: #a31515;"&gt;&amp;quot;Thamizh&amp;quot;&lt;/span&gt;, LastName = &lt;span style="color: #a31515;"&gt;&amp;quot;N&amp;quot;&lt;/span&gt;, DeptId = 30}&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;33&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;34&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; grdEmployee.ItemsSource = &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af;"&gt;PagedCollectionView&lt;/span&gt;(empList);&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;35&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;36&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;37&lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style="margin: 0px;"&gt;&lt;span style="color: #2b91af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;38&lt;/span&gt;&amp;nbsp;}&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Another alternative is to use the DataPager. Just add the DataPager and bind its ItemsSource to the DataGrid and ensure that the DataGrid’s ItemsSource property is assigned to collection that implements IPagedCollectionView.  We will use the default implementation of IPagedCollectionView.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;br /&gt;&lt;iframe src="http://silverlight.services.live.com/invoke/105225/DataGridDemo/iframe.html" style="width: 500px; height: 400px;" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;A gotcha you need to keep in mind is, the DataGrid and DataPager should be on different rows of the Grid Layout. It’s easy to miss this, as when 2 controls are on the same row we could see that one control overlaps the other. But with the DataPager, everything will look normal except that you can’t select your DataGrid. One of my projects required the use of DataGrid with DataPager. The DataGrid contained buttons, Textboxes, Combo Boxes that fired events. Once I added the DataPager none of them fired any events, the DataGrid was unselectable. Previously I was having problem with adding and deleting rows and maintaining the sate of information in the controls present the DataGrid. So I was looking into whether this had to do anything with problem I had faced previously. Only later did I realize that my DataPager was overlapping my DataGrid.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-6837910777704531258?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/6837910777704531258/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=6837910777704531258" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/6837910777704531258?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/6837910777704531258?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2009/08/silverlight-grid-control.html" title="Silverlight DataGrid Control" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkMDRH4yeip7ImA9WxNTFkw.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-5373329403406227591</id><published>2009-08-18T10:27:00.000-07:00</published><updated>2009-08-18T11:01:15.092-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-18T11:01:15.092-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term=".NET" /><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Silverlight 3.0" /><category scheme="http://www.blogger.com/atom/ns#" term="C#" /><title>Back!</title><content type="html">&lt;p class="zemanta-img zemanta-action-dragged" style="margin: 1em; float: right; display: block; width: 310px;"&gt;&lt;a href="http://en.wikipedia.org/wiki/Image:Silverlight.png"&gt;&lt;img src="http://upload.wikimedia.org/wikipedia/en/d/db/Silverlight.png" alt="Microsoft Silverlight" style="border: medium none ; display: block;" width="300" height="332" /&gt;&lt;/a&gt;&lt;span class="zemanta-img-attribution"&gt;Image via &lt;a href="http://en.wikipedia.org/wiki/Image:Silverlight.png"&gt;Wikipedia&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;I am back, after a long time!&lt;br /&gt;&lt;br /&gt;And a lot has changed. My last post was about the &lt;a href="http://www.rameshsubramanian.org/2008/04/netbeans-ide-61-released.html"&gt;release of Netbeans 6.1&lt;/a&gt;, now its in &lt;a href="http://www.netbeans.org/community/releases/67/"&gt;V. 6.7&lt;/a&gt;. its not the only thing that has changed. I finished my undergraduate program and got a job with &lt;a href="http://tcs.com/"&gt;Tata Consultancy Services&lt;/a&gt;!&lt;br /&gt;&lt;br /&gt;One thing that I frequently blogged about was Java, now, that is going to change. I will be talking more about Microsoft technologies as that is what I am working on now.  I was trained as a java programmer at my job (something I wanted to be). But recession meant we had very little opportunities, and you need to make the best out of what you get. And hence the transformation to Microsoft technologies.&lt;br /&gt;&lt;br /&gt;Currently I am working on &lt;a href="http://silverlight.net/getstarted/silverlight3/default.aspx"&gt;Silverlight 3.0&lt;/a&gt;, ASP &lt;a href="http://www.asp.net/Downloads/vs2008/"&gt;.NET 3.5&lt;/a&gt;, &lt;a href="http://msdn.microsoft.com/en-us/vcsharp/aa336745.aspx"&gt;C# 3.0&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://silverlight.net/"&gt;Silverlight&lt;/a&gt;  - Its a relatively new framework that is still evolving. Microsoft's shot at RIA.&lt;br /&gt;&lt;br /&gt;Seems like I will be blogging a lot about Silverlight, &amp;amp; .NET 3.5!&lt;br /&gt;&lt;/div&gt;&lt;br /&gt; &lt;br /&gt; &lt;div style="margin-top: 10px; height: 15px;" class="zemanta-pixie"&gt;&lt;a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/457d42a4-7a9a-4508-9f4d-1a8943275a00/" title="Reblog this post [with Zemanta]"&gt;&lt;img style="border: medium none ; float: right;" class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=457d42a4-7a9a-4508-9f4d-1a8943275a00" alt="Reblog this post [with Zemanta]" /&gt;&lt;/a&gt;&lt;span class="zem-script more-related pretty-attribution"&gt;&lt;script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"&gt;&lt;/script&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-5373329403406227591?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/5373329403406227591/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=5373329403406227591" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/5373329403406227591?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/5373329403406227591?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2009/08/back.html" title="Back!" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;AkcBQ34-fip7ImA9WxZaE0U.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-3978213012949620934</id><published>2008-04-28T05:52:00.000-07:00</published><updated>2008-04-28T06:07:32.056-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-28T06:07:32.056-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="News" /><category scheme="http://www.blogger.com/atom/ns#" term="Netbeans" /><title>NetBeans IDE 6.1 Released</title><content type="html">&lt;div style="float: right; margin-left: 10px;"&gt;&lt;script type="text/javascript"&gt;digg_url ='http://newtoprogramming.blogspot.com/2008/04/netbeans-ide-61-released.html'&lt;/script&gt;&lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/div&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Java%20Programs/nb-logo-frontpage.gif" alt="NetBeans IDE 6.1" align="left" border="0" /&gt;&lt;div style="text-align: justify;"&gt;NetBeans IDE 6.1 has been released. I had posted that it was to be released on &lt;a href="http://newtoprogramming.blogspot.com/2008/04/netbeans-61-from-tomorrow.html"&gt;April 23rd, 2008&lt;/a&gt;, but it didn’t happen. The NetBeans site latter on updated its release &lt;a href="http://www.netbeans.org/community/releases/roadmap.html"&gt;road map&lt;/a&gt; for an April 28th release. Why wasn’t it released on April 23, 2008? The NetBeans &lt;a href="http://www.netbeans.org/community/guidelines/process.html"&gt;release guidelines&lt;/a&gt; states that there must be at least one week between the last release candidate and the final release. NetBeans IDE 6.1 RC 2 was released on Arpil 21rd, 2008, so exactly a week after it they have released the final version.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://download.netbeans.org/netbeans/6.1/final/"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Java%20Programs/dl-nb-ide.gif" alt="NetBeans IDE 6.1" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-3978213012949620934?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/3978213012949620934/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=3978213012949620934" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/3978213012949620934?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/3978213012949620934?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2008/04/netbeans-ide-61-released.html" title="NetBeans IDE 6.1 Released" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://i300.photobucket.com/albums/nn22/newtoprogramming/Java%20Programs/th_nb-logo-frontpage.gif" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;A0cEQH88eyp7ImA9WxZbGEU.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-2938254725639782490</id><published>2008-04-22T11:17:00.000-07:00</published><updated>2008-04-22T11:30:01.173-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-22T11:30:01.173-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="News" /><category scheme="http://www.blogger.com/atom/ns#" term="Netbeans" /><title>Netbeans IDE 6.1 from tomorrow</title><content type="html">&lt;div style="float: right; margin-left: 10px;"&gt;&lt;script type="text/javascript"&gt;digg_url ='http://newtoprogramming.blogspot.com/2008/04/netbeans-61-from-tomorrow.html'&lt;/script&gt;&lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Netbeans IDE 6.1 should be available for download at their &lt;a href="http://www.netbeans.org/"&gt;site&lt;/a&gt; on April 23rd, 2008 as per their &lt;a href="http://www.netbeans.org/community/releases/roadmap.html"&gt;roadmap&lt;/a&gt;.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Java%20Programs/roadmap.gif" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;a href="http://www.netbeans.org/community/releases/61/index.html"&gt;According to the site&lt;/a&gt;, NetBeans IDE 6.1 release provides several new features and enhancements, such as rich JavaScript editing features, support for using the Spring web framework, tighter MySQL integration, and an improved way of sharing libraries among dependent projects. The acclaimed support for Ruby/JRuby has been enhanced with new editor quick fixes, a Ruby platform manager, fast debug support for JRuby, and many other new features and fixes. It also promises performance enhancement which includes 40% faster start up time!&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Since, the Netbeans community &lt;a href="http://qa.netbeans.org/processes/cat/61/results/ca_results.html"&gt;has given a green signal&lt;/a&gt; to the release candidates, let’s hope Netbeans 6.1 is out on April 23rd, 2008.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-2938254725639782490?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/2938254725639782490/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=2938254725639782490" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/2938254725639782490?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/2938254725639782490?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2008/04/netbeans-61-from-tomorrow.html" title="Netbeans IDE 6.1 from tomorrow" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://i300.photobucket.com/albums/nn22/newtoprogramming/Java%20Programs/th_roadmap.gif" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;A04CSXg8fSp7ImA9WxZbF0Q.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-1177167702514691302</id><published>2008-04-21T09:03:00.000-07:00</published><updated>2008-04-21T10:46:08.675-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-21T10:46:08.675-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><title>No source files with Java EE</title><content type="html">&lt;div style="float: right; margin-left: 10px;"&gt;&lt;script type="text/javascript"&gt;digg_url ='http://newtoprogramming.blogspot.com/2008/04/no-source-files-with-java-ee.html'&lt;/script&gt;&lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;I had installed &lt;a href="http://java.sun.com/javase/downloads/index.jsp"&gt;JDK 6 that comes with Java EE&lt;/a&gt;, I wanted to have a look at the library source files (found as src.zip) in the JDK. But I couldn’t find it. I again downloaded JDK 6, and found the src.zip! So, sun doesn’t include the src.zip with the JDK that comes with Java EE. But why?&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-1177167702514691302?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/1177167702514691302/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=1177167702514691302" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/1177167702514691302?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/1177167702514691302?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2008/04/no-source-files-with-java-ee.html" title="No source files with Java EE" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;C08AQXk-fCp7ImA9WxZbF00.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-1110263472732621213</id><published>2008-04-20T07:08:00.000-07:00</published><updated>2008-04-20T07:30:40.754-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-20T07:30:40.754-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Gmail" /><title>Automating Archiving</title><content type="html">&lt;div style="float: right; margin-left: 10px;"&gt;&lt;script type="text/javascript"&gt;digg_url ='http://newtoprogramming.blogspot.com/2008/04/automating-archiving.html'&lt;/script&gt;&lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The &lt;a href="http://gmailblog.blogspot.com/"&gt;gmail blog&lt;/a&gt; published some &lt;a href="http://newtoprogramming.blogspot.com/2008/04/archiving-mail-whats-that.html"&gt;9 reasons as to why users should start archiving&lt;/a&gt;. People started to &lt;a href="http://www.jrhunt.co.uk/2008/04/18/archive/"&gt;wonder why they should even bother&lt;/a&gt;, part of the concern due to them feeling the job repetitive. But it need not be. You can automate the process of archiving emails using filters!&lt;br /&gt;&lt;br /&gt;After you enter into your mail account, find the “create filter” option near the search box, and click it.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Gmail/filter1.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The rest of the process is very simple that even a layman can figure it out, anyways, I will go through it. Now, you should have a yellow display asking you to “create a filter”. Here you define the criteria for the filter. I am going to enter “reports at sitemeter dot com” in the text box opposite to from, since I want to archive any mail sent from this mail address to me. Here I don’t want the reports from sitemeter to clutter my inbox neither do I want to delete it, as it may be useful as a future reference. There are also options to further refine your filter such as “subject” – which includes mails having the certain words in the subject to the filter.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Gmail/filter2-1.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Click “next step” after filling in the necessary parameters. This leads you to another set of options. Click “Skip the inbox(Archive it)” for archiving the mail. I also select “sitemeter” – a label I had already created, so that I can find all the mail from “reports at sitemeter dot com” in the “sitemeter” label. Click “create filter”.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Gmail/filter3.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;A message displaying the parameters you choose and the actions that will take on those mails will be shown.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Gmail/filter4.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You have created a filter that will automatically archive your mails with certain parameters.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-1110263472732621213?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/1110263472732621213/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=1110263472732621213" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/1110263472732621213?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/1110263472732621213?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2008/04/automating-archiving.html" title="Automating Archiving" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://i300.photobucket.com/albums/nn22/newtoprogramming/Gmail/th_filter1.jpg" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DUcCRnk_cSp7ImA9WxZbFk0.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-6051887105559809096</id><published>2008-04-19T04:15:00.000-07:00</published><updated>2008-04-19T05:11:07.749-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-19T05:11:07.749-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Gmail" /><title>Archiving mail, whats that?</title><content type="html">&lt;div style="float: right; margin-left: 10px;"&gt;&lt;script type="text/javascript"&gt;digg_url ='http://newtoprogramming.blogspot.com/2008/04/archiving-mail-whats-that.html'&lt;/script&gt;&lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;…If that’s your answer to whether you &lt;a href="http://mail.google.com/support/bin/answer.py?answer=6576"&gt;archive&lt;/a&gt; your mail? (like me) or even if you did know what it is, but never cared to do so. &lt;a href="http://gmailblog.blogspot.com/"&gt;Gmail blog&lt;/a&gt;, has come up with &lt;a href="http://gmailblog.blogspot.com/2008/04/9-reasons-to-archive.html"&gt;9 reasons as to why you should archive your mail&lt;/a&gt;. Cut the crap out! What’s archiving? It just means moving mail out of your inbox and storing it for safekeeping. (Thanks to gmail blog for that short and simple definition!). So why should you do that? Here is why:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;9. Phone numbers and addresses&lt;/span&gt;&lt;br /&gt;You never know when you'll need a phone number someone emailed you or an address that was in a signature.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;8. Procrastination &lt;/span&gt;&lt;br /&gt;Sometimes you want to get a message out of your inbox, but you don't want to deal with organization, and you don't want to trash it.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;7. Posterity&lt;/span&gt;&lt;br /&gt;Just because you’re not famous now doesn’t mean that in forty years (or fifteen minutes) you won’t want to write your memoir.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6. Winning arguments &lt;/span&gt;&lt;br /&gt;“But on May 5, 2005 at 8:43pm EDT you said….”&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5. Mailing lists&lt;/span&gt;&lt;br /&gt;Do you really need to know what Clintobamccain is doing every day? Auto-archive* their messages until you want to donate again.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4. Birthdays&lt;/span&gt;&lt;br /&gt;Search for “grandma birthday” and voila, find the message you sent her last April. Aren't you glad you archived instead of deleted?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3. That guy&lt;/span&gt;&lt;br /&gt;Remember that guy you thought you’d never need to get in touch with ever again?&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;2. Because you can&lt;/span&gt;&lt;br /&gt;May as well use the free storage space. Plus, clean inbox = clean mind.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1. Fate-tempting is bad. You just never know&lt;/span&gt;&lt;br /&gt;Thirty-one days after you send that message to the Trash and it gets permanently deleted, you're going to need it. Don't tempt the fates.&lt;br /&gt;&lt;br /&gt;*To auto-archive, create a &lt;a href="http://mail.google.com/support/bin/answer.py?hl=en&amp;amp;answer=6579"&gt;filter&lt;/a&gt; with the action "Skip the Inbox (Archive it)."&lt;/blockquote&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Reasons 9, 6 &amp;amp; 1 are something that I can really relate too. If not for anything you should give reason 7 a serious thought!&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Why bother?&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Some are confused as to &lt;a href="http://www.jrhunt.co.uk/2008/04/18/archive/"&gt;why they should even bother to archive their mails&lt;/a&gt;, when Google offers you virtually unlimited space. If you ask me I can give you 2 reasons:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;If you are one of those persons, who receive a lot of mails (which haven’t been attended to) which makes your inbox look really cluttered and drives you so mad, that it makes you feel that you rather sign out or delete them. Then, archiving helps you to keep you inbox clean. And also if you use labels, it is just repetitive to have your mails shown in the inbox too.&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;The next one is the most unlikely of the reasons. If you get so much mail that your (ever increasing) storage is almost full and you don’t want to delete the mails (I can’t figure out how that can be done!), you can make &lt;a href="http://mail.google.com/support/bin/answer.py?answer=32608&amp;amp;ctx=sibling"&gt;use of archiving and take full advantage of google’s free storage&lt;/a&gt; rather than deleting it.&lt;/li&gt;&lt;/ol&gt;Happy Gmailing!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-6051887105559809096?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/6051887105559809096/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=6051887105559809096" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/6051887105559809096?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/6051887105559809096?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2008/04/archiving-mail-whats-that.html" title="Archiving mail, whats that?" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><thr:total>1</thr:total></entry><entry gd:etag="W/&quot;DUQFRXg7cSp7ImA9WxZbFUw.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-7245761668980614731</id><published>2008-04-18T04:08:00.000-07:00</published><updated>2008-04-18T04:15:14.609-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-18T04:15:14.609-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="News" /><title>Java for Space Technology</title><content type="html">&lt;div style="float: right; margin-left: 10px;"&gt;&lt;script type="text/javascript"&gt;digg_url ='http://newtoprogramming.blogspot.com/2008/04/java-for-space-technology.html'&lt;/script&gt;&lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Sun Microsystems has &lt;a href="http://java.sys-con.com/read/543935.htm"&gt;announced&lt;/a&gt; that engineering and manufacturing company ITT Corporation has selected the Sun Java Real-Time System 2.0 (Java RTS) and the Solaris 10 Operating System (OS) as the software development platform for its Eglin Control and Signal Processing Upgrade (CSPU) program. The reasons for this according ITT:&lt;br /&gt;&lt;blockquote&gt;…Sun Java RTS is an enterprise-class solution that addresses the issues of latency and unpredictable temporal performance of Java applications. It is compliant with the Real-Time Specification for Java and with Java Platform Standard Edition (Java SE). The solution enables hard, soft, and non-real-time functions to be combined in one system, while keeping critical latencies down to 20 microseconds. It enables developers to differentiate processes based on their importance and determine when time-critical functions should be executed.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;It must noted that Java has been &lt;a href="http://www.sun.com/aboutsun/media/features/mars.html"&gt;used in the controlling of Mars Rover&lt;/a&gt;!&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-7245761668980614731?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/7245761668980614731/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=7245761668980614731" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/7245761668980614731?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/7245761668980614731?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2008/04/java-for-space-technology.html" title="Java for Space Technology" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;CkYBSXk7eSp7ImA9WxZbFU8.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-8028195011587148674</id><published>2008-04-17T09:38:00.000-07:00</published><updated>2008-04-18T05:02:38.701-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-18T05:02:38.701-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><title>Is JVM platform independent or not?</title><content type="html">&lt;div style="float: right; margin-left: 10px;"&gt;&lt;script type="text/javascript"&gt;digg_url ='http://newtoprogramming.blogspot.com/2008/04/jvm-platform-independent-or-not.html'&lt;/script&gt;&lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Though java is platform independent why is that I need to download a different JDK based on my Operating System was the question I was asking myself, for some time. The major difference in these different JDK seems to be the JVM. JVM interprets the bytecode into actions or Operating System calls that performs the required functions. It was said to me that these Operating System calls are specific to those Operating Systems and hence the JVM is not platform independent. I searched my web on this, just to get confusing answers.&lt;br /&gt;&lt;br /&gt;These are some posts from the SDN forums:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://forum.java.sun.com/thread.jspa?threadID=624488&amp;amp;messageID=3552224"&gt;MLRon&lt;/a&gt; writes:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;JVM is not platform independent. The code you write to run on a JVM should be (unless you interface to native methods). If Microsoft comes up with an operating system that isn't compatible with Windows, then they (or someone) will have to make a new JVM for that new operating system. The Windows JVM is different from the Unix JVM or the Linux JVM. But, your Java code can run on all three without being changed or recompiled (again, unless you interface to native methods, or use other platform-specific stuff).&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://forum.java.sun.com/thread.jspa?threadID=750106&amp;amp;messageID=4288959"&gt;Herko_ter_Horst&lt;/a&gt; writes:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;Java "the language" is platform-independent. To make it so, there is a platform-specific JRE that knows how to run the platform-independent Java code on a specific platform.&lt;br /&gt;&lt;br /&gt;The JVM could be called platform-independent because it produces the same results running the same Java code on different platform(*). It is however (at least partially) implemented as a platform-dependent executable.&lt;br /&gt;&lt;br /&gt;(*) assuming you don't try to use such things as Windows-specific file-names on Linux and all that&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;a href="http://forum.java.sun.com/thread.jspa?threadID=522030&amp;amp;messageID=2497348"&gt;Jverd&lt;/a&gt; writes:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;However, there are two big things here, both of which others have been trying to tell you:&lt;br /&gt;&lt;br /&gt;1) With Java, you don't have to recompile. You pick up the .class file, move it over, without the source code, and it runs fine (provided you have a compatible VM on your target platform. The VM is not platform independent, but the Java source code is).&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;a href="http://forum.java.sun.com/thread.jspa?threadID=690246&amp;amp;messageID=4013841"&gt;Arul&lt;/a&gt; writes:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;[my comments: He says this replying to why JVM is not platform independent] Because the Java Virtual Machine is available on many different operating systems, the same .class files are capable of running on Microsoft Windows, the Solaris , Linux, or MacOS. Some virtual machines, such as the Java HotSpot Virtual Machine , perform additional steps at runtime to give your application a performance boost. This include various tasks such as finding performance bottlenecks and recompiling (to native code) frequently-used sections of your code. [my comments: these exact words are used in &lt;a href="http://java.sun.com/docs/books/tutorial/getStarted/intro/definition.html"&gt;Sun's Java Tutorial&lt;/a&gt;]&lt;br /&gt;&lt;br /&gt;a.java --&gt; compiler --&gt; a.class [class files do not have code native to your processor, it instead contain byte codes]&lt;br /&gt;&lt;br /&gt;a.class --&gt; Interpreter JVM for solaris --&gt; Solaris&lt;br /&gt;a.class --&gt; Interpreter JVM for Windows --&gt; Windows and son&lt;/blockquote&gt;&lt;br /&gt;Now to other sources:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.webopedia.com/TERM/J/JVM.htm"&gt;Webopedia&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;...JVM is a platform-independent execution environment that converts Java bytecode into machine language and executes it....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Java_%28Sun%29#Java_Virtual_Machine"&gt;Wikipedia&lt;/a&gt;:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;....Although Java programs are Platform Independent, the code of the Java Virtual Machine (JVM) that execute these programs are not. Every supported operating system has its own JVM.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;a href="http://java.sun.com/docs/books/jvms/second_edition/html/Introduction.doc.html#3057"&gt;The Java Virtual Machine Specification, Second Edition&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Sun's current Java virtual machine implementations, components of its JavaTM 2 SDK and JavaTM 2 Runtime Environment products, emulate the Java virtual machine on Win32 and Solaris hosts in much more sophisticated ways. However, the Java virtual machine does not assume any particular implementation technology, host hardware, or host operating system. It is not inherently interpreted, but can just as well be implemented by compiling its instruction set to that of a silicon CPU. It may also be implemented in microcode or directly in silicon.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;So what does it mean, is JVM platform independent or not?&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-8028195011587148674?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/8028195011587148674/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=8028195011587148674" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/8028195011587148674?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/8028195011587148674?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2008/04/jvm-platform-independent-or-not.html" title="Is JVM platform independent or not?" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;C0EMQ3w8eSp7ImA9WxZbE0g.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-5399728489517121294</id><published>2008-04-16T05:18:00.000-07:00</published><updated>2008-04-16T06:14:42.271-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-16T06:14:42.271-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><title>System.arraycopy vs. Iterative loops for copying arrays</title><content type="html">&lt;div style="float: right; margin-left: 10px;"&gt;&lt;script type="text/javascript"&gt;digg_url ='http://newtoprogramming.blogspot.com/2008/04/systemarraycopy-vs-iterative-loops-for.html'&lt;/script&gt;&lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Well, I must say I am totally bewildered. Reading into “&lt;a type="amzn" asin="0072224207"&gt;Java 2: The Complete Reference&lt;/a&gt;” by Herbert Schildt, I stumbled upon a method called “arraycopy()”, defined by the class System. This method is supposed to copy one array into another. This what the book says about the method:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;blockquote&gt;The &lt;span style="font-weight: bold;"&gt;arraycopy( )&lt;/span&gt; method can be used to copy quickly an array of any type from one place to another. &lt;span style="font-style: italic;"&gt;This is much faster than the equivalent loop written out longhand in Java&lt;/span&gt;....&lt;/blockquote&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;A quick search in the web about the method conformed this, a website &lt;a href="http://www.devx.com/tips/Tip/5287"&gt;recommending the use of arraycopy() over iterative method&lt;/a&gt; says:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;blockquote&gt;….Besides accomplishing the same result with less code, this approach has the added advantage of being faster, &lt;span style="font-style: italic;"&gt;since arraycopy is implemented as a native method, and will generally execute faster than equivalent code written in Java.&lt;/span&gt; This advantage can be particularly significant with large arrays or where many arrays are being copied.&lt;/blockquote&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;So, I decided to try out how much quicker is System.arraycopy over iterative loops. So, I wrote a java code to test it out:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="mycode"&gt;&lt;br /&gt;public class TimeCompare {&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt;* @param args the command line arguments&lt;br /&gt;*/&lt;br /&gt;public static void main(String[] args) {&lt;br /&gt;   // TODO code application logic here&lt;br /&gt;   int a[] = new int[1000000];&lt;br /&gt;   int b[] = new int[1000000];&lt;br /&gt;   int c[] = new int[1000000];&lt;br /&gt;   long start, end;&lt;br /&gt;&lt;br /&gt;   for(int i = 0; i &amp;lt; 1000000; i++){&lt;br /&gt;       a[i] =  i;&lt;br /&gt;       c[i] =  i;&lt;br /&gt;       b[i] =  i+1;&lt;br /&gt;  &lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   start = System.currentTimeMillis();  &lt;br /&gt;   for(int i = 0; i &amp;lt; a.length; i++){&lt;br /&gt;       a[i] = b[i];&lt;br /&gt;     }   &lt;br /&gt;   end = System.currentTimeMillis();&lt;br /&gt;&lt;br /&gt;   System.out.println("Time taken to copy in milliseconds: " +&lt;br /&gt;           (end - start));   &lt;br /&gt;              &lt;br /&gt;   start = System.currentTimeMillis();   &lt;br /&gt;   System.arraycopy(b, 0, c, 0, c.length);   &lt;br /&gt;   end = System.currentTimeMillis();&lt;br /&gt;&lt;br /&gt;   System.out.println("Time taken to copy in milliseconds: " +&lt;br /&gt;           (end - start));   &lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The logic is to get the start time, end time of the iterative way of copying and thereby calculate the total time it takes to complete the operation. Similarly, I also find the time taken by System.arraycopy and print it out both (iterative method followed by System.arraycopy). I am at loss to explain what I saw when I ran the program.&lt;br /&gt;&lt;br /&gt;During my first execution, I got an output along the expected lines (iterative method takes more time to run):&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Java%20Programs/TimeCompare.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Just out of curiosity, I ran the program using command prompt to see if it takes lesser time than using the IDE. This is what I got!&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Java%20Programs/DOSTimeCompare.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Iterative way, takes far less time than arraycopy!&lt;br /&gt;&lt;br /&gt;Bewildered, I ran it two more times. Thankfully, the arraycopy method faired better, though the iterative method clocked different times – that is expected considering the load of the CPU during the execution.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Java%20Programs/DOSTimeCompare1.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;But then, I returned to Netbeans IDE and ran the program again. This is what I got!&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Java%20Programs/TimeCompare1.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Both have taken almost the same time (I say almost in spite of both being 0, because the difference might have been subtle to be displayed in scale of milliseconds).&lt;br /&gt;&lt;br /&gt;I ran it again. System.arraycopy() takes more time than iterative method!&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Java%20Programs/TimeCompare2.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;So why is there so much discrepancy each time I run the program? How faster is System.arraycopy() , than the iterative method? If you know the answer please do write it down as a comment.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-5399728489517121294?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/5399728489517121294/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=5399728489517121294" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/5399728489517121294?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/5399728489517121294?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2008/04/systemarraycopy-vs-iterative-loops-for.html" title="System.arraycopy vs. Iterative loops for copying arrays" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://i300.photobucket.com/albums/nn22/newtoprogramming/Java%20Programs/th_TimeCompare.jpg" height="72" width="72" /><thr:total>5</thr:total></entry><entry gd:etag="W/&quot;CkICSXg7eip7ImA9WxZbEkU.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-4003891033719901748</id><published>2008-04-15T03:53:00.000-07:00</published><updated>2008-04-15T10:29:28.602-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-15T10:29:28.602-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tips" /><category scheme="http://www.blogger.com/atom/ns#" term="Windows" /><title>How to rename file extension</title><content type="html">&lt;div style="float: right; margin-left: 10px;"&gt;&lt;script type="text/javascript"&gt;digg_url ='http://newtoprogramming.blogspot.com/2008/04/how-to-rename-file-extension.html'&lt;/script&gt;&lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;You may occasionally want to rename the extension of your files. For instance, once I downloaded a “.chm” file – HTML help file, which didn’t have an extension. So, I had to add the extension my self. I made an error by renaming it to a “.pdf” file. Now I wanted to correct it, but the extension is not visible when you try to change it. If something like this has happened to you it is because the windows, is configured to hide the extensions of known file types.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Now lets consider the file “SSHClientHelp” for example. It doesn’t have an extension visible, for the file to work properly it must be a HTML help file, but now it is a PDF file.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Windows/Rename2.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;To enable the extension, go to tools –--&gt; folder options, click the view tab and uncheck “Hide the extensions of known file types”&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Windows/Rename1.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Windows/Rename3.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Now the extension must be visible, rename as usual.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Windows/Rename4.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Windows/Rename5.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Windows will ask you to verify your action, click yes. You are done!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-4003891033719901748?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/4003891033719901748/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=4003891033719901748" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/4003891033719901748?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/4003891033719901748?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2008/04/how-to-rename-file-extension.html" title="How to rename file extension" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://i300.photobucket.com/albums/nn22/newtoprogramming/Windows/th_Rename2.jpg" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;C0cAQHs9eSp7ImA9WxZbEkU.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-5008057096184512999</id><published>2008-04-14T07:27:00.000-07:00</published><updated>2008-04-15T10:37:21.561-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-15T10:37:21.561-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Blogging" /><category scheme="http://www.blogger.com/atom/ns#" term="Digg" /><title>Adding Digg button to blog posts</title><content type="html">&lt;div style='float:right; margin-left:10px;'&gt;&lt;script type="text/javascript"&gt;digg_url='http://newtoprogramming.blogspot.com/2008/04/adding-digg-button-to-blog-posts.html'&lt;/script&gt;&lt;br /&gt;&lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Finally, added the Digg button to the blog. But I still didn’t manage to change the template.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://tips-for-new-bloggers.blogspot.com/"&gt;Tips-for-new-bloggers&lt;/a&gt;, has tutorial on &lt;a href="http://tips-for-new-bloggers.blogspot.com/search/label/Digg"&gt;how to add the dig button to the template&lt;/a&gt;. It asks to find the following line of code in the template:&lt;br /&gt;&lt;br /&gt;&lt;div class="mycode"&gt;&amp;lt;p&amp;gt;&amp;lt;data:post.body/&amp;gt;&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;br /&gt;And then asks to add the following code on top of that line or below it depending on whether you need your dig at the top or bottom of your post.&lt;br /&gt;&lt;br /&gt;&lt;div class="mycode"&gt;&amp;lt;div style='float:right; margin-left:10px;'&amp;gt;&lt;br /&gt;&amp;lt;script type='text/javascript'&amp;gt;&lt;br /&gt;digg_url="&amp;lt;data:post.url/&amp;gt;";&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;script src='http://digg.com/tools/diggthis.js' type='text/javascript'/&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;br /&gt;When I do this, blogger takes me to a error page.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Blogging/Error3.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;I searched the web for some other way, but almost all of them have got the same way of adding the Digg button. Failing in my attempts to add Digg button through a template fix, I decided to add it in each and every post.&lt;br /&gt;&lt;br /&gt;First, publish your post. Then add the following code to the beginning of your post, by editing it:&lt;br /&gt;&lt;br /&gt;&lt;div class="mycode"&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;digg_url = 'WEBSITE_URL'&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;/div&gt;&lt;br /&gt;Replace WEBSITE_URL with the URL of your blog post. Voila! You should see the Digg button!&lt;br /&gt;&lt;br /&gt;But there is one trivial problem, the Digg button may seem out of place from your post. The text and button may be disjoint.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Blogging/outofplace.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;You can fix it easily by borrowing from the previous template fix discussed. Place the &amp;lt;div style='float:right; margin-left:10px;'&amp;gt; before the script tag and close it at the end. Like this:&lt;br /&gt;&lt;br /&gt;&lt;div class="mycode"&gt;&amp;lt;div style='float:right; margin-left:10px;'&amp;gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;digg_url = 'WEBSITE_URL'&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;br /&gt;You should see a digg button that seems to merge with your post.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Blogging/Inplace.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Remember, you still need to change WEBSITE_URL with the URL of your post. Otherwise you will be digging your blog rather than a specific blog post.&lt;br /&gt;&lt;br /&gt;But there is one disadvantage with this method, you need to do this for every post, unlike the template fix.&lt;br /&gt;&lt;br /&gt;If anyone is aware of a working template fix please do mention it, in the comment section.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-5008057096184512999?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/5008057096184512999/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=5008057096184512999" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/5008057096184512999?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/5008057096184512999?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2008/04/adding-digg-button-to-blog-posts.html" title="Adding Digg button to blog posts" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://i300.photobucket.com/albums/nn22/newtoprogramming/Blogging/th_Error3.jpg" height="72" width="72" /><thr:total>1</thr:total></entry><entry gd:etag="W/&quot;CEMGQno5eip7ImA9WxZbEko.&quot;"><id>tag:blogger.com,1999:blog-2515698669938118526.post-4142923746852940311</id><published>2008-04-13T22:03:00.000-07:00</published><updated>2008-04-15T08:13:43.422-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-15T08:13:43.422-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><title>Why not outlook?</title><content type="html">&lt;div style="float: right; margin-left: 10px;"&gt;&lt;script type="text/javascript"&gt;digg_url ='http://newtoprogramming.blogspot.com/2008/04/why-not-outlook.html'&lt;/script&gt;&lt;script src="http://digg.com/tools/diggthis.js" type="text/javascript"&gt;&lt;/script&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;This is my first post, and let me get to the issue straight away.&lt;br /&gt;&lt;br /&gt;I was going through &lt;span style="font-style: italic;"&gt;“&lt;a type="amzn" asin="0072224207"&gt;Java 2: The Complete Reference&lt;/a&gt;” by Herbert Schildt&lt;/span&gt;, there is this chapter on &lt;span style="font-style: italic;"&gt;java.lang&lt;/span&gt;, in which there is a discussion of the methods of a class called &lt;span style="font-style: italic;"&gt;Runtime&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;A method called &lt;span style="font-style: italic;"&gt;exec()&lt;/span&gt; is introduced which can call other programs. It seems similar to what happens in when you type notepad in &lt;span style="font-style: italic;"&gt;Start ----&gt; Run&lt;/span&gt;. In here, if you pass &lt;span style="font-style: italic;"&gt;notepad&lt;/span&gt; as an argument to the method it would invoke the program. Here is the example program that the book gives:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="mycode"&gt;&lt;br /&gt;public class ExecDemo {&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt;* @param args the command line arguments&lt;br /&gt;*/&lt;br /&gt;public static void main(String[] args) {&lt;br /&gt;  // TODO code application logic here&lt;br /&gt;  Runtime r = Runtime.getRuntime();&lt;br /&gt;  Process p = null;&lt;br /&gt;&lt;br /&gt;  try {&lt;br /&gt;      p = r.exec("outlook");&lt;br /&gt;      p.waitFor();&lt;br /&gt;&lt;br /&gt;  } catch (Exception e) {&lt;br /&gt;      System.out.println("Error Opening outlook.");&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  System.out.println("Outlook Returned: " /*+ p.exitValue()*/);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;It seems to work fine, but when I replace notepad with &lt;span style="font-style: italic;"&gt;outlook&lt;/span&gt;.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="mycode"&gt;&lt;br /&gt;p = r.exec("outlook");&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;It doesn’t work anymore. This is what I get in the output screen of my IDE (&lt;a href="http://netbeans.org/"&gt;&lt;span style="font-style: italic;"&gt;NetBeans&lt;/span&gt;&lt;/a&gt;):&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Java%20Programs/Error.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;So I commented off &lt;span style="font-style: italic;"&gt;p.exitValue()&lt;/span&gt;, which is supposed to return 0 if the process (called) terminated normally or else it is supposed to return 1. The program degraded gracefully by calling on the exception:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;img src="http://i300.photobucket.com/albums/nn22/newtoprogramming/Java%20Programs/Error2.jpg" alt="" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The problem seems to be with the call to &lt;span style="font-style: italic;"&gt;outlook&lt;/span&gt;. Does anyone know why it is unable to call outlook?&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2515698669938118526-4142923746852940311?l=www.rameshsubramanian.org' alt='' /&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.rameshsubramanian.org/feeds/4142923746852940311/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2515698669938118526&amp;postID=4142923746852940311" title="6 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/4142923746852940311?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2515698669938118526/posts/default/4142923746852940311?v=2" /><link rel="alternate" type="text/html" href="http://www.rameshsubramanian.org/2008/04/why-not-outlook.html" title="Why not outlook?" /><author><name>Ramesh Subramanian</name><uri>http://www.blogger.com/profile/10205507222269218733</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="27" height="32" src="http://4.bp.blogspot.com/_L_d5TfHpdt8/TGbx17BAw0I/AAAAAAAAAB8/irT8UNkLlJ8/s1600-R/pass.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://i300.photobucket.com/albums/nn22/newtoprogramming/Java%20Programs/th_Error.jpg" height="72" width="72" /><thr:total>6</thr:total></entry></feed>

