<?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>Updated ExpandoHeaderControl sample for RC0</title><link>http://blogs.msdn.com/sburke/archive/2008/09/28/update-expandoheadercontrol-sample-for-rc0.aspx</link><description>Here is the updated control sample for RC0. Just a few changes from Beta 2 - RCO: generic.xaml needs to now be in a folder called "themes" (case sensitive) rather than in the root of your project. In VSM transition declarations "Duration" has been renamed</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>funny wallpaper &amp;raquo; Updated ExpandoHeaderControl sample for RC0</title><link>http://blogs.msdn.com/sburke/archive/2008/09/28/update-expandoheadercontrol-sample-for-rc0.aspx#8968201</link><pubDate>Mon, 29 Sep 2008 00:24:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8968201</guid><dc:creator>funny wallpaper &amp;raquo; Updated ExpandoHeaderControl sample for RC0</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://housesfunnywallpaper.cn/?p=7913"&gt;http://housesfunnywallpaper.cn/?p=7913&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Silverlight Cream for September 29, 2008 -- #382</title><link>http://blogs.msdn.com/sburke/archive/2008/09/28/update-expandoheadercontrol-sample-for-rc0.aspx#8969892</link><pubDate>Tue, 30 Sep 2008 09:00:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8969892</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;
</description></item><item><title>re: Updated ExpandoHeaderControl sample for RC0</title><link>http://blogs.msdn.com/sburke/archive/2008/09/28/update-expandoheadercontrol-sample-for-rc0.aspx#8970708</link><pubDate>Tue, 30 Sep 2008 23:55:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8970708</guid><dc:creator>Igor</dc:creator><description>&lt;p&gt;Hi Shawn, thanks for your update. I created a custom control based on yours and it was fully functional under S2 Beta 2. Unfortunately with RC0 I'm facing one problem.... Is there any way to animate the Height prop of the contentgrid instead of using a rendertransform? The problem is, that I'd like to animate this prop between values Auto (expanded content) to 0 (collapsed content)... Blend claims it is not possible to animate auto generated values. In Beta 2, I used a little workaround to handle this by defining the Storyboard as the layoutRoot grid resource and dynamically setting the Height value in code, after the content was bound and I could evaluate the room it takes. RC0 comes with some changes in VSM syntax/usage and it seems it breaks my bypass :)&lt;/p&gt;
&lt;p&gt;Thanks a lot.&lt;/p&gt;
&lt;p&gt;Igor &amp;nbsp; &amp;nbsp; &lt;/p&gt;</description></item><item><title>re: Updated ExpandoHeaderControl sample for RC0</title><link>http://blogs.msdn.com/sburke/archive/2008/09/28/update-expandoheadercontrol-sample-for-rc0.aspx#8971051</link><pubDate>Wed, 01 Oct 2008 06:06:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8971051</guid><dc:creator>sburke</dc:creator><description>&lt;p&gt;@Igor - getting these sorts of things is pretty tough. &amp;nbsp;I wanted to do this for this control but basically gave up on it and switched to the transform. &amp;nbsp;There might be some way to push your own transition using the APIs off of VisualStateManager. &amp;nbsp;One option (hold on to your hat) is to write a control that implements Measure/Arrange based on it's children, then reports that sized value as it's Height. &amp;nbsp;This would be a container/content control that you'd put your content in and then bind to it's Height property. &amp;nbsp;Worth trying - but no idea if it'll work or have other side-effects...&lt;/p&gt;
</description></item><item><title>re: Updated ExpandoHeaderControl sample for RC0</title><link>http://blogs.msdn.com/sburke/archive/2008/09/28/update-expandoheadercontrol-sample-for-rc0.aspx#8971379</link><pubDate>Wed, 01 Oct 2008 13:09:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8971379</guid><dc:creator>Igor</dc:creator><description>&lt;p&gt;Shawn, as I can see we've come across similar issues and ideas how to handle them. :) I've played a bit with such custom panel but with no desired output so far. I've managed to work things out in Beta 2 with this little named static resource trick. I've also implemented your approach in my custom control with success (working on RC0), although it's not the kind of effect I'm looking for, as I've incorporated your control idea and have created a HeaderedItemsControl (HIC), which contains a header and collapsible list of items. Moreover, I've created a list of these controls, which is the main reason why I can't use your RenderTransform approach. I need all HICs in the list below the selected one to move up/down as I expand/collapse the selected HIC accordingly. The layout is not affected when playing with render transformation, as far as I know...that's why I need to play with the panel height instead. Result for me? : I'll probably play with the custom panel a bit more. BTW Have you some best practices or samples of custom panels overriding Measure/Arrange methods available? Thanks a lot&lt;/p&gt;</description></item><item><title>re: Updated ExpandoHeaderControl sample for RC0</title><link>http://blogs.msdn.com/sburke/archive/2008/09/28/update-expandoheadercontrol-sample-for-rc0.aspx#8990888</link><pubDate>Wed, 08 Oct 2008 09:50:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8990888</guid><dc:creator>Miguel Madero</dc:creator><description>&lt;p&gt;I'm having the same issues. Still no luck? &lt;/p&gt;</description></item><item><title>re: Updated ExpandoHeaderControl sample for RC0</title><link>http://blogs.msdn.com/sburke/archive/2008/09/28/update-expandoheadercontrol-sample-for-rc0.aspx#8991822</link><pubDate>Wed, 08 Oct 2008 21:18:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8991822</guid><dc:creator>sburke</dc:creator><description>&lt;p&gt;David has written about some of this stuff at his blog:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/delay/"&gt;http://blogs.msdn.com/delay/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Updated ExpandoHeaderControl sample for RC0</title><link>http://blogs.msdn.com/sburke/archive/2008/09/28/update-expandoheadercontrol-sample-for-rc0.aspx#8999990</link><pubDate>Tue, 14 Oct 2008 22:46:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8999990</guid><dc:creator>Igor</dc:creator><description>&lt;p&gt;Thank you for pointing out the reference to David's LayoutTransform project. It looks it may provide me with solution to my issues. I'll definitely take a closer look at the project and will also play a bit with that custom Panel in advance ... just to see what can we do about it. If something interesting comes out, I'll let you guys know about it.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;</description></item></channel></rss>