<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>InnerGlow Effect For Silverlight 2 Beta 2</title><link>http://blogs.msdn.com/timrule/archive/2008/04/29/innerglow-effect-for-silverlight-2-beta-1.aspx</link><description>I have taken the project from the previous post and extended the effect class to support an Inner Glow. The basic difference between the composition of the Inner Glow and the previous effects is that the gradients are reversed and the z index is changed</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Drop Shadow Effect for Silverlight 2 Beta 1</title><link>http://blogs.msdn.com/timrule/archive/2008/04/29/innerglow-effect-for-silverlight-2-beta-1.aspx#8474539</link><pubDate>Fri, 09 May 2008 00:02:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8474539</guid><dc:creator>My Silverlight Blog</dc:creator><description>&lt;p&gt;A configurable shadow effect can be achieved for Silverlight 2 Beta 1 with the use of the Grid control&lt;/p&gt;
</description></item><item><title>re: InnerGlow Effect For Silverlight 2 Beta 1</title><link>http://blogs.msdn.com/timrule/archive/2008/04/29/innerglow-effect-for-silverlight-2-beta-1.aspx#8592209</link><pubDate>Thu, 12 Jun 2008 00:32:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8592209</guid><dc:creator>Erik K</dc:creator><description>&lt;p&gt;I think this is great! &amp;nbsp;I wish WPF had something like this. &amp;nbsp;I'm trying to update your code for Silverlight Beta 2 and have been unsuccessful so far. &amp;nbsp;Have you tried to upgrade this code yet?&lt;/p&gt;
</description></item><item><title>re: InnerGlow Effect For Silverlight 2 Beta 1</title><link>http://blogs.msdn.com/timrule/archive/2008/04/29/innerglow-effect-for-silverlight-2-beta-1.aspx#8606273</link><pubDate>Mon, 16 Jun 2008 20:57:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8606273</guid><dc:creator>EWilleke</dc:creator><description>&lt;p&gt;I'm also having a bit o' difficulty getting it to update.&lt;/p&gt;
</description></item><item><title>re: InnerGlow Effect For Silverlight 2 Beta 1</title><link>http://blogs.msdn.com/timrule/archive/2008/04/29/innerglow-effect-for-silverlight-2-beta-1.aspx#8678134</link><pubDate>Tue, 01 Jul 2008 21:26:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8678134</guid><dc:creator>Tim Rule</dc:creator><description>&lt;p&gt;The code has been updated to work with beta 2. &lt;/p&gt;
</description></item><item><title>Glow Effect for Silverlight 2 Beta 1</title><link>http://blogs.msdn.com/timrule/archive/2008/04/29/innerglow-effect-for-silverlight-2-beta-1.aspx#8701868</link><pubDate>Mon, 07 Jul 2008 16:42:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8701868</guid><dc:creator>Community Blogs</dc:creator><description>&lt;p&gt;A configurable glow effect can be achieved for Silverlight 2 Beta 1 with the use of the Grid control&lt;/p&gt;
</description></item><item><title>re: InnerGlow Effect For Silverlight 2 Beta 1</title><link>http://blogs.msdn.com/timrule/archive/2008/04/29/innerglow-effect-for-silverlight-2-beta-1.aspx#8735282</link><pubDate>Wed, 16 Jul 2008 00:41:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8735282</guid><dc:creator>tridemax</dc:creator><description>&lt;p&gt;Looks like this URL contains old code that doesn't work in Beta 2: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/timrule/attachment/8441426.ashx"&gt;http://blogs.msdn.com/timrule/attachment/8441426.ashx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What do you mean by &amp;quot;The code has been updated to work with beta 2.&amp;quot;?&lt;/p&gt;
</description></item><item><title>re: InnerGlow Effect For Silverlight 2 Beta 1</title><link>http://blogs.msdn.com/timrule/archive/2008/04/29/innerglow-effect-for-silverlight-2-beta-1.aspx#8917310</link><pubDate>Mon, 01 Sep 2008 21:32:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8917310</guid><dc:creator>John Egbert</dc:creator><description>&lt;p&gt;Can you post the updated code that will work with beta 2?&lt;/p&gt;
</description></item><item><title>re: InnerGlow Effect For Silverlight 2 Beta 2</title><link>http://blogs.msdn.com/timrule/archive/2008/04/29/innerglow-effect-for-silverlight-2-beta-1.aspx#8922441</link><pubDate>Wed, 03 Sep 2008 21:12:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8922441</guid><dc:creator>t100@Japan</dc:creator><description>&lt;p&gt;wow! &lt;/p&gt;
&lt;p&gt;I just have finally succeed that update this Code for silverlight2 beta 2.&lt;/p&gt;
&lt;p&gt;this is only 2 steps.&lt;/p&gt;
&lt;p&gt;(1) let's close five build error.&lt;/p&gt;
&lt;p&gt;we should change the code below in ShadowBox.cs .&lt;/p&gt;
&lt;p&gt;before:&lt;/p&gt;
&lt;p&gt; &amp;nbsp;new PropertyChangedCallback(PropChangedCallback)&lt;/p&gt;
&lt;p&gt;after:&lt;/p&gt;
&lt;p&gt; &amp;nbsp;new PropertyMetadata(new PropertyChangedCallback(PropChangedCallback))&lt;/p&gt;
&lt;p&gt;(2) add a line.&lt;/p&gt;
&lt;p&gt;we should add code below in the constructor of Shadow class.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; this.DefaultStyleKey = typeof(ShadowBox);&lt;/p&gt;
&lt;p&gt;that's all !!&lt;/p&gt;
&lt;p&gt;I'm sorry, I'm not good at English. &lt;/p&gt;
</description></item><item><title>re: InnerGlow Effect For Silverlight 2 Beta 2</title><link>http://blogs.msdn.com/timrule/archive/2008/04/29/innerglow-effect-for-silverlight-2-beta-1.aspx#8975502</link><pubDate>Fri, 03 Oct 2008 16:49:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8975502</guid><dc:creator>ProTurbo</dc:creator><description>&lt;p&gt;Hi Tim! &lt;/p&gt;
&lt;p&gt;Great effects!&lt;/p&gt;
&lt;p&gt;If you don't mind, I have added them to my Silverlight Birthday Calendar -&amp;gt; &lt;a rel="nofollow" target="_new" href="http://hamang.net/2008/10/03/new-version-of-the-silverlight-calendar/"&gt;http://hamang.net/2008/10/03/new-version-of-the-silverlight-calendar/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description></item><item><title>re: InnerGlow Effect For Silverlight 2 Beta 2</title><link>http://blogs.msdn.com/timrule/archive/2008/04/29/innerglow-effect-for-silverlight-2-beta-1.aspx#9455296</link><pubDate>Tue, 03 Mar 2009 01:17:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9455296</guid><dc:creator>jhonny</dc:creator><description>&lt;p&gt;This doesn't work in silverlight 2 release. &lt;/p&gt;
&lt;p&gt;Somehow this line from &amp;quot;override void OnApplyTemplate()&amp;quot; always returns null: &lt;/p&gt;
&lt;p&gt;&amp;quot;RootElement = (FrameworkElement)GetTemplateChild(&amp;quot;RootElement&amp;quot;);&amp;quot;&lt;/p&gt;
&lt;p&gt;Any ideas why?&lt;/p&gt;
</description></item><item><title>re: InnerGlow Effect For Silverlight 2 Beta 2</title><link>http://blogs.msdn.com/timrule/archive/2008/04/29/innerglow-effect-for-silverlight-2-beta-1.aspx#9467989</link><pubDate>Mon, 09 Mar 2009 20:28:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9467989</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;I'm fighting my way through this at the moment as well, and there are several breaking changes between the beta version and the final release. The location and content of the generic.xaml changed. &amp;nbsp;Also, the reason in my test project that the GetTemplateChild() method returns Null is that the style isn't getting applied to the control correctly. &amp;nbsp;If I move the contents of generic.xaml to the app.xaml and apply the style by using the &amp;quot;Style=&amp;quot; method it works. &amp;nbsp;Not very portable, but it works.&lt;/p&gt;
&lt;p&gt;--Matt&lt;/p&gt;
</description></item><item><title>re: InnerGlow Effect For Silverlight 2 Beta 2</title><link>http://blogs.msdn.com/timrule/archive/2008/04/29/innerglow-effect-for-silverlight-2-beta-1.aspx#9470873</link><pubDate>Wed, 11 Mar 2009 21:45:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9470873</guid><dc:creator>Matthew Timbs</dc:creator><description>&lt;p&gt;There are 3 reasons the style wasn't getting applied correctly. &amp;nbsp;Fist, the generic.xaml should've been placed under the \themes directory. &amp;nbsp;Second the type must be specified in the style and in the style's template (which I had missed), and third, this line should be added to the constructor of your class:&lt;/p&gt;
&lt;p&gt;this.DefaultStyleKey = typeof(YourClassName);&lt;/p&gt;
&lt;p&gt;Apparently all this changed from the beta version to the final one.&lt;/p&gt;
&lt;p&gt;--Matt&lt;/p&gt;
</description></item></channel></rss>