<?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>RC0 &amp;amp; ContentPresenter</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/09/28/rc0-amp-contentpresenter.aspx</link><description>The breaking changes document points out that ContentPresenter now derives from FrameworkElement and thus loses 18 public properties as well as TextAlignment, TextDecorations and TextWrapping. All of this calls for a bit of rewriting if you&amp;#39;ve used</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>From Silverlight-2-b2 To Silverlight-2</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/09/28/rc0-amp-contentpresenter.aspx#117610</link><pubDate>Sun, 26 Oct 2008 10:29:32 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:117610</guid><dc:creator>VaneS Blog</dc:creator><description>&lt;p&gt;Recently I made update on my dev machine with the SP1 for Visual Studio 2008 and Silverlight-2. I made&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=117610" width="1" height="1"&gt;</description></item><item><title>re: RC0 &amp; ContentPresenter</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/09/28/rc0-amp-contentpresenter.aspx#116626</link><pubDate>Fri, 24 Oct 2008 07:14:54 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:116626</guid><dc:creator>eXistenZ</dc:creator><description>&lt;p&gt;Like Psychlist1972 said this is kind of contradictory to the idea of a style. On the other hand I can see that the content needed to be styled on the template level as a button can have any content in silverlight. So microsoft should just consider a template set, runntime overwrite model. Set the style for the content in the template but nevertheless you can overwrite it on a runntime object or in the corresponding xaml.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=116626" width="1" height="1"&gt;</description></item><item><title>Resolving Errors - Moving to Silverlight2 RTW</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/09/28/rc0-amp-contentpresenter.aspx#107453</link><pubDate>Mon, 13 Oct 2008 13:03:29 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:107453</guid><dc:creator>&lt;ChristophDotNet </dc:creator><description>&lt;p&gt;Following Jesse’s and Pete’s excellent posts on porting Silverlight2 apps from Beta 2 to the final release&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=107453" width="1" height="1"&gt;</description></item><item><title>Template Browser – an indispensible tool</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/09/28/rc0-amp-contentpresenter.aspx#102312</link><pubDate>Fri, 03 Oct 2008 17:50:34 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:102312</guid><dc:creator>Mirrored Blogs</dc:creator><description>&lt;p&gt;One way that many developers like to create styles and templates for controls is to modify the existing&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=102312" width="1" height="1"&gt;</description></item><item><title>Template Browser – an indispensible tool</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/09/28/rc0-amp-contentpresenter.aspx#102290</link><pubDate>Fri, 03 Oct 2008 17:19:54 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:102290</guid><dc:creator>Microsoft Weblogs</dc:creator><description>&lt;p&gt;One way that many developers like to create styles and templates for controls is to modify the existing&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=102290" width="1" height="1"&gt;</description></item><item><title>Template Browser – an indispensible tool</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/09/28/rc0-amp-contentpresenter.aspx#102283</link><pubDate>Fri, 03 Oct 2008 16:46:18 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:102283</guid><dc:creator>Jesse Liberty - Silverlight Geek</dc:creator><description>&lt;p&gt;One way that many developers like to create styles and templates for controls is to modify the existing&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=102283" width="1" height="1"&gt;</description></item><item><title>Silverlight, RC0 &amp; ContentPresenter | DavideZordan.net</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/09/28/rc0-amp-contentpresenter.aspx#100259</link><pubDate>Tue, 30 Sep 2008 21:32:23 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:100259</guid><dc:creator>Silverlight, RC0 &amp; ContentPresenter | DavideZordan.net</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Silverlight, RC0 &amp;amp; ContentPresenter | DavideZordan.net&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=100259" width="1" height="1"&gt;</description></item><item><title>Silverlight Cream for September 29, 2008 -- #382</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/09/28/rc0-amp-contentpresenter.aspx#99689</link><pubDate>Tue, 30 Sep 2008 06:00:46 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:99689</guid><dc:creator>Community Blogs</dc:creator><description>&lt;p&gt;Boyan Mihaylov on SL/Amazon, David Hyde with SL Stock Portfolio, Chris Anderson with SL LOB app, Jesse&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=99689" width="1" height="1"&gt;</description></item><item><title>re: RC0 &amp; ContentPresenter</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/09/28/rc0-amp-contentpresenter.aspx#99539</link><pubDate>Tue, 30 Sep 2008 00:20:29 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:99539</guid><dc:creator>royhiggs</dc:creator><description>&lt;p&gt;Also, Button doesn't have TextWrapping or TextAlignment properties so how should those be set in a button template using ContentPresenter?&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=99539" width="1" height="1"&gt;</description></item><item><title>re: RC0 &amp; ContentPresenter</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/09/28/rc0-amp-contentpresenter.aspx#99515</link><pubDate>Mon, 29 Sep 2008 22:41:32 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:99515</guid><dc:creator>royhiggs</dc:creator><description>&lt;p&gt;I think it does make sense to want to style the content of a button inside your button style. That way if you want to have a button control that reuses the same style across your application you can define it in the button style and not require the developer to set the font settings every time they use the button. That is the whole point of a style.&lt;/p&gt;
&lt;p&gt;This wouldn't be so bad except that in Silverlight there is no BasedOn so I can't even add a style to the content presenter resources for the TextBlock that is based on my standard style for my buttons. So now I'm relegated to copy/paste which seems to just defeat the whole purpose of being able to have styles.&lt;/p&gt;
&lt;p&gt;I guess I'll have to go back to the drawing board to figure out how to get consistent buttons in my application.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=99515" width="1" height="1"&gt;</description></item><item><title>Silverlight news for September 29, 2008</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/09/28/rc0-amp-contentpresenter.aspx#99269</link><pubDate>Mon, 29 Sep 2008 15:54:23 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:99269</guid><dc:creator>Silverlight news for September 29, 2008</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Silverlight news for September 29, 2008&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=99269" width="1" height="1"&gt;</description></item><item><title>2008 September 29 - Links for today &amp;laquo; My (almost) Daily Links</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/09/28/rc0-amp-contentpresenter.aspx#98957</link><pubDate>Mon, 29 Sep 2008 06:51:58 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:98957</guid><dc:creator>2008 September 29 - Links for today « My (almost) Daily Links</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;2008 September 29 - Links for today &amp;amp;laquo; My (almost) Daily Links&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=98957" width="1" height="1"&gt;</description></item><item><title>re: RC0 &amp; ContentPresenter</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/09/28/rc0-amp-contentpresenter.aspx#98800</link><pubDate>Sun, 28 Sep 2008 23:39:43 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:98800</guid><dc:creator>Psychlist1972</dc:creator><description>&lt;p&gt;Hi Jesse&lt;/p&gt;
&lt;p&gt;I'd like to point out a use that I don't consider a design flaw: providing VSM styles for buttons. In those, I had the properties on the content presenter, but they were bound to properties of the control itself. (That was the default behavior when creating the style using vsm). They weren't hard-coded in the style.&lt;/p&gt;
&lt;p&gt;Now I need to find another way to get the textblock inside the button to have the correct alignment, font etc. as alignment infomration is no longer available at the button level and the rest of the required values do not currently appear to cascade down to the CP properly.&lt;/p&gt;
&lt;p&gt;Haven't tried any of the obvious workarounds yet (or regenerating the style using RC0), but will when I get a second. Unfortunately, some of those workarounds would restrict the button to only the content I specifically put in the style. Not great there, and defeats the purpose of the contentpresenter.&lt;/p&gt;
&lt;p&gt;Pete&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=98800" width="1" height="1"&gt;</description></item></channel></rss>