<?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>Themes Revisited: The Implicit Style Manager [Updated!]</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx</link><description>In a recent post on theming using the new Themes from the Controls Toolkit I showed that you can add a theme to your Xaml and then add a container as the content of that theme. A powerful alternative is to use the ImplicitStyleManager to apply the theme</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>re: Themes Revisited: The Implicit Style Manager [Updated!]</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx#200132</link><pubDate>Thu, 02 Apr 2009 11:13:40 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:200132</guid><dc:creator>lisamargaret</dc:creator><description>&lt;p&gt;Hi Jesse &lt;/p&gt;
&lt;p&gt;thanks for the simple demonstration of applying themes to our silverlight applications. can we customize themes , like our own colors and fonts (styles rather) instead of the ones provided by the tool kit.&lt;/p&gt;
&lt;p&gt;i really appreciate your help on it.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Lisa.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=200132" width="1" height="1"&gt;</description></item><item><title>Silverlight Toolkit Themes (Teil 1) at Programming with Silverlight, WPF &amp;amp; .NET</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx#150918</link><pubDate>Sun, 21 Dec 2008 15:47:20 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:150918</guid><dc:creator>Silverlight Toolkit Themes (Teil 1) at Programming with Silverlight, WPF &amp; .NET</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Silverlight Toolkit Themes (Teil 1) at Programming with Silverlight, WPF &amp;amp;amp; .NET&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=150918" width="1" height="1"&gt;</description></item><item><title>Silverlight Toolkit Themes (Teil 1) at Programming with Silverlight, WPF &amp;amp; .NET</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx#150913</link><pubDate>Sun, 21 Dec 2008 15:27:13 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:150913</guid><dc:creator>Silverlight Toolkit Themes (Teil 1) at Programming with Silverlight, WPF &amp; .NET</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Silverlight Toolkit Themes (Teil 1) at Programming with Silverlight, WPF &amp;amp;amp; .NET&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=150913" width="1" height="1"&gt;</description></item><item><title>re: Themes Revisited: The Implicit Style Manager [Updated!]</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx#141318</link><pubDate>Wed, 03 Dec 2008 03:17:15 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:141318</guid><dc:creator>Star Pilot</dc:creator><description>&lt;p&gt;Jesse,&lt;/p&gt;
&lt;p&gt;Any chance you could post the xaml for this example?&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;Philip&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=141318" width="1" height="1"&gt;</description></item><item><title>re: Themes Revisited: The Implicit Style Manager [Updated!]</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx#134526</link><pubDate>Thu, 20 Nov 2008 11:57:07 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:134526</guid><dc:creator>derAndre</dc:creator><description>&lt;p&gt;Hi Jesse,&lt;/p&gt;
&lt;p&gt;I wonder if it is possible to use definition from the ExpressionDark.xaml-file within the app.xaml-file.&lt;/p&gt;
&lt;p&gt;Like this:&lt;/p&gt;
&lt;p&gt;You have defined &amp;quot;ExpressionTopGradientBrush1&amp;quot; in the ExpressionDark.xaml &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;...&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;!--EXPRESSION DARK VALUES FOR CHARTS--&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;Color x:Key=&amp;quot;ExpressionTopGradientBrush1&amp;quot;&amp;gt;#FFB5B5B5&amp;lt;/Color&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;...&lt;/p&gt;
&lt;p&gt;I would like to use this Brush in a style definition in my App.xaml like this&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;...&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&amp;lt;Setter Property=&amp;quot;Background&amp;quot; Value=&amp;quot;{StaticResource ExpressionTopGradientBrush1}&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;...&lt;/p&gt;
&lt;p&gt;is there a way to do this? Or is there another way to have &amp;quot;global&amp;quot; definitions which can be used in both files?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Andr&amp;#233;&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=134526" width="1" height="1"&gt;</description></item><item><title>A Ridiculous List of Silverlight Toolkit Resources</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx#127093</link><pubDate>Sat, 08 Nov 2008 04:36:14 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:127093</guid><dc:creator>Shawn Burke's Blog</dc:creator><description>&lt;p&gt;The Silverlight Toolkit is off to a great start and lots of people have been spending time writing content&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=127093" width="1" height="1"&gt;</description></item><item><title>re: Themes Revisited: The Implicit Style Manager [Updated!]</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx#126347</link><pubDate>Fri, 07 Nov 2008 01:41:46 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:126347</guid><dc:creator>seeligd</dc:creator><description>&lt;p&gt;Hi Jesse - &lt;/p&gt;
&lt;p&gt;Great article. I'm curious if it's possible to use the ImplicitStyleManager to allow derived controls to reference a single (parent) style? &lt;/p&gt;
&lt;p&gt;For example, if I have ActionButton1 : Button and ActionButton2 : Button, is it possible to have them both reference a style with a TargetType of Button? When using generic.xaml, it was possible to set the DefaultStyleKey of a derived class to the parent and thereby obtain the parent's style. This doesn't seem to work with Implicit Styles but I wanted to be sure.&lt;/p&gt;
&lt;p&gt;Here's a demo with the behavior in question:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://drop.io/dnbyydm"&gt;http://drop.io/dnbyydm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=126347" width="1" height="1"&gt;</description></item><item><title>re: Themes Revisited: The Implicit Style Manager [Updated!]</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx#126233</link><pubDate>Thu, 06 Nov 2008 21:38:25 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:126233</guid><dc:creator>davex</dc:creator><description>&lt;p&gt;Can the theme be applied during the page-load as well, perhaps based on some user preference previously persisted in db?&lt;/p&gt;
&lt;p&gt;Also, are there any performance considerations with respect to the apply mode used (none, once, auto)?&lt;/p&gt;
&lt;p&gt;If you're looking for a new video to do - one that demonstrates retrieving the user's preferred theme using asp.net profile service and setting it dynamically within the silverlight application might be nice. &amp;nbsp;:)&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=126233" width="1" height="1"&gt;</description></item><item><title>re: Themes Revisited: The Implicit Style Manager [Updated!]</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx#124791</link><pubDate>Wed, 05 Nov 2008 00:46:26 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:124791</guid><dc:creator>geek50</dc:creator><description>&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;void Page_Loaded(object sender, RoutedEventArgs e)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;applyTheme.Click += new RoutedEventHandler(applyTheme_Click);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;Error	1	The name 'applyTheme' does not exist in the current context	&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=124791" width="1" height="1"&gt;</description></item><item><title>re: Themes Revisited: The Implicit Style Manager [Updated!]</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx#124790</link><pubDate>Wed, 05 Nov 2008 00:45:10 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:124790</guid><dc:creator>geek50</dc:creator><description>&lt;p&gt;Error	1	The name 'applyTheme' does not exist in the current context	&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=124790" width="1" height="1"&gt;</description></item><item><title>re: Themes Revisited: The Implicit Style Manager [Updated!]</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx#124789</link><pubDate>Wed, 05 Nov 2008 00:44:49 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:124789</guid><dc:creator>geek50</dc:creator><description>&lt;p&gt;Error	1	The name 'applyTheme' does not exist in the current context	&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=124789" width="1" height="1"&gt;</description></item><item><title>re: Themes Revisited: The Implicit Style Manager [Updated!]</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx#123913</link><pubDate>Mon, 03 Nov 2008 23:32:50 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:123913</guid><dc:creator>jimmccurdy</dc:creator><description>&lt;p&gt;One issue I am having with ImplicitStyleManager is as follows:&lt;/p&gt;
&lt;p&gt;If I set the Style attribute on a Button (or other base control), which I do to set common Margins etc., then the ImplicitStyleManager does not apply its style to that control. &amp;nbsp;So I am struggling with how to set common layout attributes on the Button without screwing up the ImplicitStyleManager's style. &amp;nbsp;I really don't want to copying the individual layout attributes to every Button.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=123913" width="1" height="1"&gt;</description></item><item><title>re: Themes Revisited: The Implicit Style Manager [Updated!]</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx#123909</link><pubDate>Mon, 03 Nov 2008 23:24:36 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:123909</guid><dc:creator>jimmccurdy</dc:creator><description>&lt;p&gt;I found a way to set the theme of a UserControl (or any FrameElement for that matter) in the XAML only. &amp;nbsp;Just include as follows:&lt;/p&gt;
&lt;p&gt;&amp;lt;UserControl x:Class=&amp;quot;MyUserControlClass&amp;quot;&lt;/p&gt;
&lt;p&gt;xmlns=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/winfx/2006/xaml/presentation&amp;quot;"&gt;schemas.microsoft.com/.../presentation&amp;quot;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;xmlns:x=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/winfx/2006/xaml&amp;quot;"&gt;schemas.microsoft.com/.../xaml&amp;quot;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;xmlns:theming=&amp;quot;clr-namespace:Microsoft.Windows.Controls.Theming;assembly=Microsoft.Windows.Controls.Theming&amp;quot;&lt;/p&gt;
&lt;p&gt;theming:ImplicitStyleManager.ApplyMode=&amp;quot;Auto&amp;quot;&lt;/p&gt;
&lt;p&gt;theming:ImplicitStyleManager.ResourceDictionaryUri=&amp;quot;MyThemeAssembly;component/MyTheme.xaml&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;In this example, the theme URI refers to a separate project assembly called MyThemeAssembly, and a specific MyTheme.xaml within that assembly. &amp;nbsp;Of course, you don't need the assembly reference if it can be found in the same assembly. &amp;nbsp;Just be sure to set it's build action to &amp;quot;Resource&amp;quot;.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=123909" width="1" height="1"&gt;</description></item><item><title>Silverlight News for 3 November, 2008</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx#123347</link><pubDate>Mon, 03 Nov 2008 10:55:10 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:123347</guid><dc:creator>Silverlight News for 3 November, 2008</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Silverlight News for 3 November, 2008&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=123347" width="1" height="1"&gt;</description></item><item><title>2008 November 03 - Links for today &amp;laquo; My (almost) Daily Links</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/10/31/themes-revisited-the-implicit-style-manager.aspx#123303</link><pubDate>Mon, 03 Nov 2008 09:28:55 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:123303</guid><dc:creator>2008 November 03 - Links for today « My (almost) Daily Links</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;2008 November 03 - Links for today &amp;amp;laquo; My (almost) Daily Links&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=123303" width="1" height="1"&gt;</description></item></channel></rss>