<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Silverlight Tip of the Day #55 – How to Apply Styles in Silverlight – Part I</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx</link><description>Styles are extremely important because they allow developers to control the look and layout of controls across their application. By using styles you can simply change the style declaration and all controls in the application are updated automatically</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Coding4Fun: Creating Games with Silverlight: A Simple Shooter | Astha</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx#283030</link><pubDate>Mon, 07 Sep 2009 13:58:31 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:283030</guid><dc:creator>Coding4Fun: Creating Games with Silverlight: A Simple Shooter | Astha</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Coding4Fun: Creating Games with Silverlight: A Simple Shooter | Astha&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=283030" width="1" height="1"&gt;</description></item><item><title>???????????????? ?????????????? ????????-??????e?????????? ?? Silverlight | PHP Scribe</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx#260491</link><pubDate>Thu, 30 Jul 2009 12:44:42 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:260491</guid><dc:creator>???????????????? ?????????????? ????????-??????e?????????? ?? Silverlight | PHP Scribe</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;???????????????? ?????????????? ????????-??????e?????????? ?? Silverlight | PHP Scribe&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=260491" width="1" height="1"&gt;</description></item><item><title>???????????????? ?????????????? ????????-??????e?????????? ?? Silverlight | PHP Scribe</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx#260490</link><pubDate>Thu, 30 Jul 2009 12:44:14 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:260490</guid><dc:creator>???????????????? ?????????????? ????????-??????e?????????? ?? Silverlight | PHP Scribe</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;???????????????? ?????????????? ????????-??????e?????????? ?? Silverlight | PHP Scribe&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=260490" width="1" height="1"&gt;</description></item><item><title>presentão de Ano Novo: dúzias de dicas e tutoriais de Silverlight ;)</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx#155408</link><pubDate>Sat, 03 Jan 2009 11:25:58 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:155408</guid><dc:creator>o UAU nosso de cada dia</dc:creator><description>&lt;p&gt;essa lista eu copiei desse blog b&amp;#225;rbaro (acompanhe por RSS voc&amp;#234; tamb&amp;#233;m): uma lista de dicas super &amp;#250;teis&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=155408" width="1" height="1"&gt;</description></item><item><title>Silverlight Tips of the Day - Summary Outline</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx#155169</link><pubDate>Fri, 02 Jan 2009 22:57:17 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:155169</guid><dc:creator>Silverlight Tips of the Day - Blog by Mike Snow</dc:creator><description>&lt;p&gt;The purpose of this post is to create an outline summary all the blogs from my Silverlight tips of the&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=155169" width="1" height="1"&gt;</description></item><item><title>MS Tech News &amp;raquo; Silverlight Tips of the Day ??? Week 8</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx#118557</link><pubDate>Mon, 27 Oct 2008 19:31:42 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:118557</guid><dc:creator>MS Tech News » Silverlight Tips of the Day ??? Week 8</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;MS Tech News &amp;amp;raquo; Silverlight Tips of the Day ??? Week 8&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=118557" width="1" height="1"&gt;</description></item><item><title>MS Tech News &amp;raquo; Silverlight Tips of the Day ??? Week 8</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx#118541</link><pubDate>Mon, 27 Oct 2008 19:25:55 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:118541</guid><dc:creator>MS Tech News » Silverlight Tips of the Day ??? Week 8</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;MS Tech News &amp;amp;raquo; Silverlight Tips of the Day ??? Week 8&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=118541" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Tip of the Day #55 – How to Apply Styles in Silverlight – Part I</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx#105817</link><pubDate>Fri, 10 Oct 2008 00:12:39 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:105817</guid><dc:creator>mike.snow</dc:creator><description>&lt;p&gt;sudhakar76 - You are correct that styles cannot be changed dynamically once set. Hopefully this will be working in the next release. &lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=105817" width="1" height="1"&gt;</description></item><item><title>Silverlight Tips of the Day – Week 8</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx#105117</link><pubDate>Thu, 09 Oct 2008 03:05:34 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:105117</guid><dc:creator>Visual Web Developer Team Blog</dc:creator><description>&lt;p&gt;Silverlight Tip of the Day #57 Title: How to Dynamically Load a Silverlight Control within another Silverlight&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=105117" width="1" height="1"&gt;</description></item><item><title>Post: 192</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx#104672</link><pubDate>Wed, 08 Oct 2008 09:50:32 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:104672</guid><dc:creator>Mirrored Blogs</dc:creator><description>&lt;p&gt;Post: Approved at: Oct-8-2008 Tip:How to Popup a Browser Window &amp;amp;quot;Let’s say a user clicks on a button&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=104672" width="1" height="1"&gt;</description></item><item><title>Silverlight Cream for October 03, 2008 -- #387</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx#102365</link><pubDate>Fri, 03 Oct 2008 19:48:49 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:102365</guid><dc:creator>Community Blogs</dc:creator><description>&lt;p&gt;In this issue: Denislav Savkov, Martin Mihaylov, Matthias Shapiro, Mike Snow, Terence Tsang, Jesse Liberty&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=102365" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Tip of the Day #55 – How to Apply Styles in Silverlight – Part I</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx#102350</link><pubDate>Fri, 03 Oct 2008 19:18:21 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:102350</guid><dc:creator>sudhakar76</dc:creator><description>&lt;p&gt;Hello Mike,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;I have been looking for an answere for my question for quite a some time. I really apprecite if you can show some light.&lt;/p&gt;
&lt;p&gt;Here is my question:&lt;/p&gt;
&lt;p&gt;I have few complex XAML data in file for my UserControl. (XAML data is nothing but creats visual for my UserContol)&lt;/p&gt;
&lt;p&gt;For example, assume one file is having XAML data to draw Clock1. And another file has XAML data for different Clock called Clock2.&lt;/p&gt;
&lt;p&gt;Now i have one property in my UserControl Called &amp;quot;myStyle&amp;quot;.&lt;/p&gt;
&lt;p&gt;If myStyle Set to 1, i wanted to draw Clock1 and if its Set to 2 i want to draw Clock 2.&lt;/p&gt;
&lt;p&gt;(I took only 2 visual for simplicty. Actually i have lot more visual to choose from.)&lt;/p&gt;
&lt;p&gt;I tried to put Clock1 and Clock2 as Styles, But later i learned Its not possible to change the Style once its assigned.(Hope i am right)&lt;/p&gt;
&lt;p&gt;What is the best way to do this? &lt;/p&gt;
&lt;p&gt;There is one possiblity is read XAML data in Code behind and Add each elements of XAML as child to UserControl whenever myStyle changes. Is that the only way to do it?&lt;/p&gt;
&lt;p&gt;Or is there any better way to do it using style?&lt;/p&gt;
&lt;p&gt;I really appreciate your help.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=102350" width="1" height="1"&gt;</description></item><item><title>re: Silverlight Tip of the Day #55 – How to Apply Styles in Silverlight – Part I</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx#102243</link><pubDate>Fri, 03 Oct 2008 15:53:20 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:102243</guid><dc:creator>mike.snow</dc:creator><description>&lt;p&gt;j23tom - Yes, you are correct. We have a bug and are investigating for the release. For now, you can move the style to your UserControl instead of App.xaml if you are using RC0. Thanks.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=102243" width="1" height="1"&gt;</description></item><item><title>Dew Drop - October 3, 2008 | Alvin Ashcraft's Morning Dew</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx#102172</link><pubDate>Fri, 03 Oct 2008 13:42:39 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:102172</guid><dc:creator>Dew Drop - October 3, 2008 | Alvin Ashcraft's Morning Dew</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Dew Drop - October 3, 2008 | Alvin Ashcraft's Morning Dew&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=102172" width="1" height="1"&gt;</description></item><item><title>Silverlight news for October 3, 2008</title><link>http://blogs.silverlight.net/blogs/msnow/archive/2008/10/02/silverlight-tip-of-the-day-55-how-to-apply-styles-in-silverlight-part-i.aspx#102059</link><pubDate>Fri, 03 Oct 2008 10:53:49 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:102059</guid><dc:creator>Silverlight news for October 3, 2008</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Silverlight news for October 3, 2008&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=102059" width="1" height="1"&gt;</description></item></channel></rss>