<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.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>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Theming and Skinning in SL2B2</title><link>http://forums.silverlight.net/forums/thread/73780.aspx</link><pubDate>Wed, 23 Jul 2008 08:28:04 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:73780</guid><dc:creator>Simbalight</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/73780.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=73780</wfw:commentRss><description>&lt;p&gt;Lee&amp;#39;s approach from Slyi&amp;#39;s link is great! No need to traverse the element tree! The only thing I would like to add is being able to use the controls&amp;#39; pre-defined skins and use skin switching as well. Pre-defined skins reside in the generic.xaml files inside the control libraries. I can&amp;#39;t find a way to dynamically load a new version of such file in a way that controls would automatically pull their skins from the new file.&lt;/p&gt;&lt;p&gt;So up to now there are two options:&lt;/p&gt;&lt;p&gt;- Copy the pre-defined skins and use style-attributes for all the controls&lt;/p&gt;&lt;p&gt;- Traverse the element tree and set styles for all controls that use pre-defined styles&lt;/p&gt;&lt;p&gt;If anyone has an idea/approach how it could be done without traversion and obligatory style-attributes, please post it here!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Theming and Skinning in SL2B2</title><link>http://forums.silverlight.net/forums/thread/73704.aspx</link><pubDate>Wed, 23 Jul 2008 05:35:46 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:73704</guid><dc:creator>kalyan.</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/73704.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=73704</wfw:commentRss><description>&lt;p&gt;Hi slyi&lt;strong&gt;,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&amp;nbsp;&amp;nbsp;Thanks a lot for the Link.It helps me alot.&lt;/p&gt;
&lt;p&gt;With Regards,&lt;/p&gt;
&lt;p&gt;kalyan&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Theming and Skinning in SL2B2</title><link>http://forums.silverlight.net/forums/thread/73625.aspx</link><pubDate>Tue, 22 Jul 2008 20:33:18 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:73625</guid><dc:creator>slyi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/73625.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=73625</wfw:commentRss><description>&lt;p&gt;Did you see &lt;a href="http://leeontech.wordpress.com/2008/07/21/dynamic-styles/"&gt;http://leeontech.wordpress.com/2008/07/21/dynamic-styles/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Theming and Skinning in SL2B2</title><link>http://forums.silverlight.net/forums/thread/73538.aspx</link><pubDate>Tue, 22 Jul 2008 14:54:49 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:73538</guid><dc:creator>kalyan.</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/73538.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=73538</wfw:commentRss><description>&lt;p&gt;Hi hwsoderlund, &lt;/p&gt;
&lt;p&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;Thanks alot for the Link.&lt;/p&gt;
&lt;p&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;The one Sample which is there in the Link(&lt;a href="http://www.nikhilk.net/Entry.aspx?id=201"&gt;http://www.nikhilk.net/Entry.aspx?id=201&lt;/a&gt;)&amp;nbsp;is uesd with&amp;nbsp;&amp;nbsp;Static Theme.&lt;/p&gt;
&lt;p&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;I got&amp;nbsp;the requirement in such&amp;nbsp;away&amp;nbsp;to set the Theme Dynamically. &lt;/p&gt;
&lt;p&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; Could &amp;nbsp;you tell me how to set the theme Dynamically(in the .CS File&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;/p&gt;
&lt;p&gt;With Regards,&lt;/p&gt;
&lt;p&gt;kalyan&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Theming and Skinning in SL2B2</title><link>http://forums.silverlight.net/forums/thread/69881.aspx</link><pubDate>Thu, 10 Jul 2008 07:11:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:69881</guid><dc:creator>hwsoderlund</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/69881.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=69881</wfw:commentRss><description>&lt;p&gt;Take a look at this, it looks like a good solution to the theming problem:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;http://www.nikhilk.net/Entry.aspx?id=201&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Theming and Skinning in SL2B2</title><link>http://forums.silverlight.net/forums/thread/69620.aspx</link><pubDate>Wed, 09 Jul 2008 11:52:11 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:69620</guid><dc:creator>Simbalight</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/69620.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=69620</wfw:commentRss><description>&lt;p&gt;I tried to check one of the options: Downloading an assembly and using its resources to set a new skin. I&amp;nbsp;know how to&amp;nbsp;download an assembly but how to use its resources for my purposes?&lt;/p&gt;
&lt;p&gt;In the Mix08 slides for the AOL Mail app they write &amp;quot;loads skin assembly&amp;quot; and sth about a method &amp;quot;GetControlTemplate&amp;quot;. How would that assembly look like and how to use it?&lt;/p&gt;
&lt;p&gt;If anyone tried it, please help out!&lt;/p&gt;</description></item><item><title>Re: Theming and Skinning in SL2B2</title><link>http://forums.silverlight.net/forums/thread/69089.aspx</link><pubDate>Tue, 08 Jul 2008 08:00:59 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:69089</guid><dc:creator>Kevmeister</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/69089.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=69089</wfw:commentRss><description>&lt;p&gt;Our organisation also requires theming. There are 2 issues which need to be addressed - the default styles of controls as shipped need to be themable, and a means of packaging user-defined styles into collections called &amp;quot;themes&amp;quot;.&lt;/p&gt;</description></item><item><title>Re: Theming and Skinning in SL2B2</title><link>http://forums.silverlight.net/forums/thread/69084.aspx</link><pubDate>Tue, 08 Jul 2008 07:33:43 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:69084</guid><dc:creator>Simbalight</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/69084.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=69084</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I suppose it would work but it just doesn&amp;#39;t seem elegant and&amp;nbsp;my favorite way to go. Of course if it&amp;#39;s the only way by now there&amp;#39;s no choice :)&lt;/p&gt;
&lt;p&gt;If I assign explicit styles to the controls I could decide which&amp;nbsp;library to load on app startup, each of them containing that styles. I will play around with that idea and do some tests, soon. But most controls I use are custom ones and I&amp;#39;d love to change controls that use their &amp;quot;built-in style&amp;quot; on the fly (or on app startup), too.&lt;/p&gt;
&lt;p&gt;Of course I could build several versions of the control library but wouldn&amp;#39;t it be nice to have an on demand skin dll? We load it, assign it and we&amp;#39;re done?!&lt;/p&gt;
&lt;p&gt;Still I&amp;#39;m not sure which way to go. When I&amp;#39;ll have news about any approach I will update this thread.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m ok with multiple xaps for multiple languages. However I know that thread and your blog and I&amp;#39;ve been following it for a while now. Maybe I&amp;#39;m going to pack the two most important languages into the main xap and load others on demand. BTW:&amp;nbsp;good work!&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Theming and Skinning in SL2B2</title><link>http://forums.silverlight.net/forums/thread/68782.aspx</link><pubDate>Mon, 07 Jul 2008 10:46:36 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:68782</guid><dc:creator>slyi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/68782.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=68782</wfw:commentRss><description>&lt;p&gt;The&amp;nbsp;AOL mail&amp;nbsp;application&amp;nbsp;had skins,&amp;nbsp;back in Mix08 &lt;a href="http://sessions.visitmix.com/?selectedSearch=BT01"&gt;http://sessions.visitmix.com/?selectedSearch=BT01&lt;/a&gt;,&amp;nbsp;which was&amp;nbsp;done by reloading each control with a different styles, would that not work for you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also you dont need to&amp;nbsp;create a&amp;nbsp;seperate xap for each language, please see sample on &lt;a href="http://silverlight.services.live.com/invoke/6655/LocSample/iframe.html"&gt;&lt;u&gt;&lt;font face="Tahoma" color="#0000ff"&gt;http://silverlight.services.live.com/invoke/6655/LocSample/iframe.html&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&lt;font face="Tahoma" color="#000000"&gt; and other articles on loc at &lt;a href="http://wpf-e.spaces.live.com/"&gt;http://wpf-e.spaces.live.com/&lt;/a&gt;&lt;/font&gt;, &lt;/p&gt;
&lt;p&gt;Please note downloading a xap for single&amp;nbsp;language resources&amp;nbsp;on demand may be useful if you have a very large number of strings and languages, i&amp;#39;ll blog about this later.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards,&lt;/p&gt;
&lt;p&gt;slyi&lt;/p&gt;</description></item><item><title>Re: Theming and Skinning in SL2B2</title><link>http://forums.silverlight.net/forums/thread/68754.aspx</link><pubDate>Mon, 07 Jul 2008 09:18:33 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:68754</guid><dc:creator>DanielDowell</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/68754.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=68754</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I don&amp;#39;t mean to hi-jack this thread but the company I work for requires this as well. We have roughly 20 different languages (represented not only by text, but graphical resources as well) for each product and the product is also re-skinned for approx. 20 different customers (some of them needs a red theme of backgrounds, buttons; some need blue).&lt;/p&gt;&lt;p&gt;Until Silverlight supports something like this we are stuck with Flash even though we would very much like to make the switch. Any idea on how to achieve this skinning/theming in Silverlight 2 or do we have to wait for 3.0?&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Theming and Skinning in SL2B2</title><link>http://forums.silverlight.net/forums/thread/68722.aspx</link><pubDate>Mon, 07 Jul 2008 07:31:12 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:68722</guid><dc:creator>Simbalight</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/68722.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=68722</wfw:commentRss><description>&lt;p&gt;It&amp;#39;s planned to be a multilingual business application. The user should be able to choose the theme for the entire UI. So global theme switching would be exactly what we need. However it would be acceptable if the approach requires the application to reload. I don&amp;#39;t want to build a separate xap for each skin because we will already use multiple xaps to provide multilanguage support.&lt;/p&gt;
&lt;p&gt;I know how to load files on demand, but is it possible to load a resource file&amp;nbsp;containing the stuff that would normaly reside in generic.xaml? It could happen in the application class. &lt;/p&gt;
&lt;p&gt;My investigations so far make me believe&amp;nbsp;I cannot simply move generic.xaml content to another resource xaml file. Is this correct? Is there a way around?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Theming and Skinning in SL2B2</title><link>http://forums.silverlight.net/forums/thread/68304.aspx</link><pubDate>Fri, 04 Jul 2008 19:08:43 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:68304</guid><dc:creator>Dave Relyea</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/68304.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=68304</wfw:commentRss><description>&lt;p&gt;I&amp;#39;d be interesting in hearing the details of what you are trying to do. Global &amp;quot;theme switching&amp;quot; is definitely something we&amp;#39;re thinking about for the future, but it will not be in SL2.&lt;/p&gt;
&lt;p&gt;You could walk the visual tree using VisualTreeHelper, and set the Templates to a new template based on what the old template was.&lt;/p&gt;</description></item><item><title>Theming and Skinning in SL2B2</title><link>http://forums.silverlight.net/forums/thread/68192.aspx</link><pubDate>Fri, 04 Jul 2008 12:34:10 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:68192</guid><dc:creator>Simbalight</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/68192.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=68192</wfw:commentRss><description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt; Is there any theme mechanism built into SL2 B2? I know that in B1 there was none.&lt;/p&gt;&lt;p&gt;How would you do the job of dynamically changing the theme?&lt;/p&gt;&lt;p&gt;&amp;#39;Mutliple xaps&amp;#39; sounds like a solution but I cannot create separate xaps for every possible language / theme combination.&lt;/p&gt;&lt;p&gt;I would neither want to parse all the controls and set their skins one by one because I don&amp;#39;t know which button would use skin1 from theme1 and which skin2 from theme1. If there&amp;#39;s nothing built in or planned for RTM, something like &amp;quot;dynamic generic.xaml loading&amp;quot; sounds like an option...&lt;/p&gt;&lt;p&gt;Any experiences, info, links?&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>