<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">TinishaR's Expression</title><subtitle type="html">Expression, Silverlight, WPF and User Experience</subtitle><id>http://blogs.msdn.com/tinisha/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/tinisha/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/tinisha/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2008-01-22T13:02:00Z</updated><entry><title>Silverlight 3 Released</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/tinisha/archive/2009/07/29/silverlight-3-released.aspx" /><id>http://blogs.msdn.com/tinisha/archive/2009/07/29/silverlight-3-released.aspx</id><published>2009-07-29T23:30:00Z</published><updated>2009-07-29T23:30:00Z</updated><content type="html">&lt;P&gt;Check out ScottGu's Blog on the new release of Silverlight 3! &lt;/P&gt;
&lt;P&gt;&lt;A href="http://weblogs.asp.net/scottgu/archive/2009/07/10/silverlight-3-released.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2009/07/10/silverlight-3-released.aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9852513" width="1" height="1"&gt;</content><author><name>tinisha</name><uri>http://blogs.msdn.com/members/tinisha.aspx</uri></author></entry><entry><title>Creating Styles in Expression Blend 2</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/tinisha/archive/2009/06/18/creating-styles-in-expression-blend-2.aspx" /><id>http://blogs.msdn.com/tinisha/archive/2009/06/18/creating-styles-in-expression-blend-2.aspx</id><published>2009-06-18T15:51:49Z</published><updated>2009-06-18T15:51:49Z</updated><content type="html">&lt;p&gt;Apologies for leaving it so long since my last post; the last 6-12 months have been extremely busy, but I must add, busy with lots of learning! So I felt that the time was right to start posting some of those learnings.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;So… Styles! Those of you from traditional Web Designing backgrounds will be used to separating your styling from your content using CSS. This is something that is also possible in Expression Blend, and was always its intention to separate behaviour from look and feel, making designing styles and enabling rapid changes, quick and easy. They’re great for setting styles on text, such as headings, body and hyperlinks, as well as creating styled buttons, etc.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Styles are not to be confused with templates, they can work together, but offer different capabilities to the project. A template allows you to change the entire look and feel of the control, such as a button or check box. For example, you may want to have green round buttons in your application or website. To make the standard rectangular button round, you would need to make the change in the template by creating a new shape that is round. However, the green colour could be taken care of by the style functions. This allows you to “skin” the button with the current colour scheme, whilst planning for easy change later down the line.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Let’s get started with the tutorial on creating styles!&lt;/p&gt;  &lt;p&gt; Firstly, open Expression Blend 2. In this example we shall create a Silverlight 2 Application. Name your file and store it somewhere meaningful.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%201_1.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Creating a Silverlight 2 Application" border="0" alt="Creating a Silverlight 2 Application" src="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%201_thumb_1.png" width="644" height="402" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I have added 3 text blocks into the LayoutRoot and placed some “Lorem ipsum” text inside as a placeholder for this web article.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%202.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Blank page with 3 TextBlocks" border="0" alt="Blank page with 3 TextBlocks" src="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%202_thumb.png" width="644" height="402" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I would like to create some text styles for this article, which will include a heading style, a body style, a quotation style and a hyperlink style.&lt;/p&gt;  &lt;p&gt;To create a style, go to: Object &amp;gt; Edit Style &amp;gt; Create Empty&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%203_1.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Creating a Style" border="0" alt="Creating a Style" src="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%203_thumb_1.png" width="460" height="484" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;As the first style we shall create is going to be the Heading style, I am naming the style &lt;em&gt;HeaderTextBlockStyle&lt;/em&gt; and selecting the style to be defined within the Application as I will want to reuse it outside of this specific page.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%204.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Naming your Style" border="0" alt="Naming your Style" src="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%204_thumb.png" width="644" height="402" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Once the name is chosen, and OK selected, we are taken to the Style UI within the App.xaml file&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%205.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="The Style UI" border="0" alt="The Style UI" src="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%205_thumb.png" width="644" height="402" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Let’s start creating the &lt;em&gt;HeaderTextBlockStyle&lt;/em&gt; – feel free to experiment with your own styles here, I will show you my example and what can be edited as a Style. &lt;/p&gt;  &lt;p&gt;So, here is an edited style:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%206.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Edited HeaderTextBlockStyle" border="0" alt="Edited HeaderTextBlockStyle" src="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%206_thumb.png" width="644" height="402" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%207.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Style UI properties panel" border="0" alt="Style UI properties panel" src="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%207_thumb.png" width="199" height="772" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;As you can see from the screen shot of the Properties panel, the properties that I have changed, now have a small white box next to them.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%207b_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Changed properties" border="0" alt="Changed properties" src="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%207b_thumb.png" width="499" height="195" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Let’s take a look at the XAML generated for this&amp;#160; &lt;em&gt;HeaderTextBlockStyle&lt;/em&gt; to get a&amp;#160; better understanding as to what is happening behind the Style UI.&lt;/p&gt;  &lt;p&gt;Within the App.xaml folder, a block of &amp;lt;Style&amp;gt; mark-up has been placed within the &amp;lt;Application.Resources&amp;gt; segment&lt;/p&gt;  &lt;p&gt;&amp;lt;Style x:Key=&amp;quot;HeaderTextBlockStyle&amp;quot; TargetType=&amp;quot;TextBlock&amp;quot;&amp;gt;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;Foreground&amp;quot; Value=&amp;quot;#FF100E4F&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;VerticalAlignment&amp;quot; Value=&amp;quot;Top&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;Margin&amp;quot; Value=&amp;quot;0,0,0,0&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;FontFamily&amp;quot; Value=&amp;quot;Verdana&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;FontSize&amp;quot; Value=&amp;quot;18&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;FontWeight&amp;quot; Value=&amp;quot;Bold&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;TextDecorations&amp;quot; Value=&amp;quot;Underline&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;lt;/Style&amp;gt;&lt;/p&gt;  &lt;p&gt; This text simply defines a name, the type that the style is targeting and a list of properties and values defined by the &amp;lt;Setter&amp;gt;&lt;/p&gt;  &lt;p&gt;There are many other properties that can be placed within this block of mark-up, such as TextWrapping, Margins, Widths, etc. For the moment, I am just placing some basic examples in here.&lt;/p&gt;  &lt;p&gt;This style is then referenced from the TextBlock within the Page.xaml as:&lt;/p&gt;  &lt;p&gt;Style=&amp;quot;{StaticResource HeaderTextBlockStyle}&amp;quot;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Here is what the text now looks like with the new style applied:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%209.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="HeaderTextBlockStyle applied" border="0" alt="HeaderTextBlockStyle applied" src="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%209_thumb.png" width="644" height="402" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I will now quickly go through and make the other changes to the rest of the article’s TextBlocks. Here is the finished page:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%2010.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="All styles applied" border="0" alt="All styles applied" src="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%2010_thumb.png" width="644" height="402" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;If we take a look at the XAML from App.xaml, we see the following:&lt;/p&gt;  &lt;p&gt;&amp;lt;Application.Resources&amp;gt;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;!-- Resources scoped at the Application level should be defined here. --&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Style x:Key=&amp;quot;HeaderTextBlockStyle&amp;quot; TargetType=&amp;quot;TextBlock&amp;quot;&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;FontFamily&amp;quot; Value=&amp;quot;Verdana&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;FontSize&amp;quot; Value=&amp;quot;18&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;FontWeight&amp;quot; Value=&amp;quot;Bold&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;Foreground&amp;quot; Value=&amp;quot;#FF100E4F&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;TextDecorations&amp;quot; Value=&amp;quot;Underline&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;VerticalAlignment&amp;quot; Value=&amp;quot;Top&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/Style&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Style x:Key=&amp;quot;QuotationTextBlockStyle&amp;quot; TargetType=&amp;quot;TextBlock&amp;quot;&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;FontFamily&amp;quot; Value=&amp;quot;Verdana&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;FontSize&amp;quot; Value=&amp;quot;12&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;FontStyle&amp;quot; Value=&amp;quot;Italic&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;FontWeight&amp;quot; Value=&amp;quot;Bold&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;Foreground&amp;quot; Value=&amp;quot;#FF282828&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;VerticalAlignment&amp;quot; Value=&amp;quot;Top&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/Style&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Style x:Key=&amp;quot;BodyTextBlockStyle&amp;quot; TargetType=&amp;quot;TextBlock&amp;quot;&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;FontFamily&amp;quot; Value=&amp;quot;Verdana&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;FontSize&amp;quot; Value=&amp;quot;12&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;Foreground&amp;quot; Value=&amp;quot;#FF000000&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;VerticalAlignment&amp;quot; Value=&amp;quot;Top&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/Style&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Style x:Key=&amp;quot;HyperlinkTextBlockStyle&amp;quot; TargetType=&amp;quot;TextBlock&amp;quot;&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;FontFamily&amp;quot; Value=&amp;quot;Verdana&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;FontSize&amp;quot; Value=&amp;quot;11&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;Foreground&amp;quot; Value=&amp;quot;#FF282828&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;TextAlignment&amp;quot; Value=&amp;quot;Right&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;VerticalAlignment&amp;quot; Value=&amp;quot;Top&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;Setter Property=&amp;quot;TextDecorations&amp;quot; Value=&amp;quot;Underline&amp;quot;/&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/Style&amp;gt;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/Application.Resources&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;We can see that a variety of styles have been created and stored here, and within the Page.xaml, each TextBlock refers to one of these style references, as shown below:&lt;/p&gt;  &lt;p&gt;&amp;lt;TextBlock Margin=&amp;quot;10,10,10,10&amp;quot; Text=&amp;quot;Lorem Ipsum&amp;quot; Style=&amp;quot;{StaticResourceHeaderTextBlockStyle}&amp;quot;/&amp;gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This is a very basic example of what Styles can help you to achieve in your Expression Blend projects. They’re great for separating the look and feel from the logic or behaviour of the site or application.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Here’s a finished example in IE8:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%2011.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Completed Page shown in IE8" border="0" alt="Completed Page shown in IE8" src="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/CreatingStylesinExpressionBlend2_E6B8/screen%2011_thumb.png" width="583" height="429" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Thanks for stopping by,&lt;/p&gt;  &lt;p&gt;Tinisha&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9775873" width="1" height="1"&gt;</content><author><name>tinisha</name><uri>http://blogs.msdn.com/members/tinisha.aspx</uri></author></entry><entry><title>Microsoft Health Common User Interface: Patient Journey Demonstrator</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/tinisha/archive/2008/05/16/microsoft-health-common-user-interface-patient-journey-demonstrator.aspx" /><id>http://blogs.msdn.com/tinisha/archive/2008/05/16/microsoft-health-common-user-interface-patient-journey-demonstrator.aspx</id><published>2008-05-16T14:11:00Z</published><updated>2008-05-16T14:11:00Z</updated><content type="html">&lt;P&gt;I have been thinking of all the many topics that I would like to blog about recently, but the first that springs to mind is the brand new Silverlight 2 healthcare application, which showcases future-thinking around healthcare user interfaces.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/MicrosoftHealthCommonUserInterfacePatien_AB73/patient%20journey%20demo%20main%20pic.png" mce_href="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/MicrosoftHealthCommonUserInterfacePatien_AB73/patient%20journey%20demo%20main%20pic.png"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=197 alt="Patient Journey Demonstrator" src="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/MicrosoftHealthCommonUserInterfacePatien_AB73/patient%20journey%20demo%20main%20pic_thumb.png" width=463 border=0 mce_src="http://blogs.msdn.com/blogfiles/tinisha/WindowsLiveWriter/MicrosoftHealthCommonUserInterfacePatien_AB73/patient%20journey%20demo%20main%20pic_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;I was fortunate enough to be involved in &lt;A href="http://www.mscui.net/PatientJourneyDemonstrator/" mce_href="http://www.mscui.net/PatientJourneyDemonstrator/"&gt;Microsoft Health Common User Interface: Patient Journey Demonstrator&lt;/A&gt;, and worked alongside Neil Ashley in experimenting with ways to visualise the complex data presented in this application.&lt;/P&gt;
&lt;P&gt;The areas that I worked with during the creation of this application were the Patient Banner, the containers of the on screen elements, the Doctor Schedules, the Lifestyle component and the Patient Charts.&lt;/P&gt;
&lt;P&gt;I will continue to blog about many of the techniques associated with creating these types of UI elements over the next few months, and &lt;A href="http://blogs.msdn.com/mgrayson" mce_href="http://blogs.msdn.com/mgrayson"&gt;Martin Grayson&lt;/A&gt; will be blogging about many of the of different sections within the demonstrator, such as how they were built, sharing code snippets, and discussing the future development of the demonstrator.&lt;/P&gt;
&lt;P&gt;The team involved in this Demonstrator were:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.fruitti.com/" mce_href="http://www.fruitti.com/"&gt;Kirsten Disse&lt;/A&gt; - Lead UX Designer&lt;/P&gt;
&lt;P&gt;Martin Grayson - Lead Developer &lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.sgolubev.com/" mce_href="http://www.sgolubev.com/"&gt;Sergei Golubev&lt;/A&gt; - Silverlight UI Developer&lt;/P&gt;
&lt;P&gt;Joe Wardell - Silverlight UI Developer&lt;/P&gt;
&lt;P&gt;Neil Ashley &amp;amp; &lt;A href="http://blogs.msdn.com/tinisha/" mce_href="http://blogs.msdn.com/tinisha/"&gt;Tinisha Rocca&lt;/A&gt; - Visual Designers&lt;/P&gt;
&lt;P&gt;Alam Rahman - Lead Test&lt;/P&gt;
&lt;P&gt;Please share all feedback here or visit the CodePlex Discussion Board &lt;A href="http://www.codeplex.com/Thread/View.aspx?ProjectName=mscui&amp;amp;ThreadId=26807" mce_href="http://www.codeplex.com/Thread/View.aspx?ProjectName=mscui&amp;amp;ThreadId=26807"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Tinisha&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;NOTE FOR USERS OUTSIDE OF THE UK:-&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;A few users outside of the UK are experience a bug with the Primary Care and Secondary Care demonstrators. The symptom is when they try to launch the either of these demonstrators, they see our default error dialogue stating: &lt;EM&gt;"This application has encountered a problem and needs to close. Please, try restarting it. Sorry for any inconvenience."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;We have identified that the problem is due to current 'Regional and Language' settings. The reason is because we do various things with the formatting of dates, but have only extensively tested with the UK date format. We have now logged the issue and are aiming to release the demonstrator with the fix when Silverlight 2 Beta 2 ships. &lt;BR&gt;There is a workaround though in the meantime. You can access the second parts of the demonstrator by changing you current language format to 'English (United Kingdom)'. You can access this in Windows Vista via... &lt;BR&gt;Control Panel -&amp;gt; Regional and Langauge Options -&amp;gt; Formats (tab) and selecting 'English (United Kingdom)' from the drop-down.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8512498" width="1" height="1"&gt;</content><author><name>tinisha</name><uri>http://blogs.msdn.com/members/tinisha.aspx</uri></author><category term="Design" scheme="http://blogs.msdn.com/tinisha/archive/tags/Design/default.aspx" /><category term="User Experience" scheme="http://blogs.msdn.com/tinisha/archive/tags/User+Experience/default.aspx" /><category term="Microsoft Expression" scheme="http://blogs.msdn.com/tinisha/archive/tags/Microsoft+Expression/default.aspx" /><category term="Blend" scheme="http://blogs.msdn.com/tinisha/archive/tags/Blend/default.aspx" /></entry><entry><title>Creating a Clipping Path in Expression Blend</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/tinisha/archive/2008/01/22/creating-a-clipping-path-in-expression-blend.aspx" /><id>http://blogs.msdn.com/tinisha/archive/2008/01/22/creating-a-clipping-path-in-expression-blend.aspx</id><published>2008-01-22T16:02:00Z</published><updated>2008-01-22T16:02:00Z</updated><content type="html">&lt;P&gt;&lt;FONT size=2&gt;&lt;SPAN style="FONT-SIZE: 85%; FONT-FAMILY: verdana"&gt;A clipping path is where a shape or path is overlayed on top of another object path or shape in order to mask off certain areas that fall outside of the front path or shape.&lt;BR&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;SPAN style="FONT-SIZE: 85%; FONT-FAMILY: verdana"&gt;The example that I have used here is of a London Skyline contained within the word "London". This is a great effect and really simple to do, read on to find out how.&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;A href="http://bp0.blogger.com/_aEWXQyW4ozw/R5XqAKhhueI/AAAAAAAAACE/7FMCoy7UK34/s1600-h/clipping_path_london_complete1.png" mce_href="http://bp0.blogger.com/_aEWXQyW4ozw/R5XqAKhhueI/AAAAAAAAACE/7FMCoy7UK34/s1600-h/clipping_path_london_complete1.png"&gt;&lt;IMG id=BLOGGER_PHOTO_ID_5158286236768647650 style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://bp0.blogger.com/_aEWXQyW4ozw/R5XqAKhhueI/AAAAAAAAACE/7FMCoy7UK34/s400/clipping_path_london_complete1.png" border=0 mce_src="http://bp0.blogger.com/_aEWXQyW4ozw/R5XqAKhhueI/AAAAAAAAACE/7FMCoy7UK34/s400/clipping_path_london_complete1.png"&gt;&lt;/A&gt;&lt;FONT size=2&gt;&lt;SPAN style="FONT-SIZE: 85%; FONT-FAMILY: verdana"&gt;1. Once you have opened Blend December Preview and created a new project, go to the project pane, and right click on the name of your project.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;SPAN style="FONT-SIZE: 85%; FONT-FAMILY: verdana"&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;IMG id=BLOGGER_PHOTO_ID_5158251172655643058 style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://bp0.blogger.com/_aEWXQyW4ozw/R5XKHKhhubI/AAAAAAAAABs/2AbZuVP0-Go/s400/projectpane1.png" border=0 mce_src="http://bp0.blogger.com/_aEWXQyW4ozw/R5XKHKhhubI/AAAAAAAAABs/2AbZuVP0-Go/s400/projectpane1.png"&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;2. Right click on add existing item and select the image that you want to use in this example. You can now see the file selected in the Properties list. Select and drag this image file on to the canvas and resize appropriately.&lt;/P&gt;
&lt;P&gt;3. Select the text tool and choose a bright forecolour and large size to suit the size of the image. Begin writing the desired text. You should now see something that looks like the following:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://bp2.blogger.com/_aEWXQyW4ozw/R5XL2qhhucI/AAAAAAAAAB0/fqxZ753EEZE/s1600-h/clipping_path_london_beforeclipping.png" mce_href="http://bp2.blogger.com/_aEWXQyW4ozw/R5XL2qhhucI/AAAAAAAAAB0/fqxZ753EEZE/s1600-h/clipping_path_london_beforeclipping.png"&gt;&lt;IMG id=BLOGGER_PHOTO_ID_5158253088211057090 style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://bp2.blogger.com/_aEWXQyW4ozw/R5XL2qhhucI/AAAAAAAAAB0/fqxZ753EEZE/s400/clipping_path_london_beforeclipping.png" border=0 mce_src="http://bp2.blogger.com/_aEWXQyW4ozw/R5XL2qhhucI/AAAAAAAAAB0/fqxZ753EEZE/s400/clipping_path_london_beforeclipping.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;4. Using the select tool, select the object that you want to be the clipping path. In this case, that will be the text path "London". Press and hold Ctrl and select the other object that you want to clip (the Image).&lt;/P&gt;
&lt;P&gt;5. With both objects now selected, go to "Object" --&amp;gt; "Path" --&amp;gt; "Make clipping path"&lt;/P&gt;
&lt;P&gt;&lt;A href="http://bp0.blogger.com/_aEWXQyW4ozw/R5XN9KhhudI/AAAAAAAAAB8/C_drRUzkwSI/s1600-h/make_clipping_path.png" mce_href="http://bp0.blogger.com/_aEWXQyW4ozw/R5XN9KhhudI/AAAAAAAAAB8/C_drRUzkwSI/s1600-h/make_clipping_path.png"&gt;&lt;IMG id=BLOGGER_PHOTO_ID_5158255398903462354 style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://bp0.blogger.com/_aEWXQyW4ozw/R5XN9KhhudI/AAAAAAAAAB8/C_drRUzkwSI/s400/make_clipping_path.png" border=0 mce_src="http://bp0.blogger.com/_aEWXQyW4ozw/R5XN9KhhudI/AAAAAAAAAB8/C_drRUzkwSI/s400/make_clipping_path.png"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;6. That's it, you're done! Enjoy experimenting with this cool feature in Blend.&lt;A href="http://bp0.blogger.com/_aEWXQyW4ozw/R5XqAKhhueI/AAAAAAAAACE/7FMCoy7UK34/s1600-h/clipping_path_london_complete1.png" mce_href="http://bp0.blogger.com/_aEWXQyW4ozw/R5XqAKhhueI/AAAAAAAAACE/7FMCoy7UK34/s1600-h/clipping_path_london_complete1.png"&gt;&lt;IMG id=BLOGGER_PHOTO_ID_5158286236768647650 style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://bp0.blogger.com/_aEWXQyW4ozw/R5XqAKhhueI/AAAAAAAAACE/7FMCoy7UK34/s400/clipping_path_london_complete1.png" border=0 mce_src="http://bp0.blogger.com/_aEWXQyW4ozw/R5XqAKhhueI/AAAAAAAAACE/7FMCoy7UK34/s400/clipping_path_london_complete1.png"&gt;&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7198227" width="1" height="1"&gt;</content><author><name>tinisha</name><uri>http://blogs.msdn.com/members/tinisha.aspx</uri></author><category term="Microsoft Expression" scheme="http://blogs.msdn.com/tinisha/archive/tags/Microsoft+Expression/default.aspx" /></entry></feed>