<?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>Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx</link><description>UPDATE: Get the latest Dragging, docking, expanding panel code from Blacklight , our new CodePlex project! In Part 1 , we looked at how we construct a Dragging, docking, expanding panel, and added the ‘dragging’ functionality by placing the panel in a</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8906013</link><pubDate>Fri, 29 Aug 2008 20:46:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8906013</guid><dc:creator>samcov</dc:creator><description>&lt;p&gt;Sweet! &amp;nbsp;I've become more comfortable about where to use your visionary techniques in my applications going forward. &amp;nbsp;This is very good stuff&lt;/p&gt;
&lt;p&gt;I'm also interested in something you said you want to get more into, namely expanding / collapsing lists. &amp;nbsp;While it may not be your final piece, I think it's probably the next progression.&lt;/p&gt;
&lt;p&gt;Again, thanks for the code, and at some point, it may be a good idea to get this on CodePlex.&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8908821</link><pubDate>Sat, 30 Aug 2008 10:45:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8908821</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hey samcov, thanks again for looking at the samples!&lt;/p&gt;
&lt;p&gt;Expanding / collapsing lists is VERY high on the list. I think I will deal with reusable drag and drop first, then do the list stuff.&lt;/p&gt;
&lt;p&gt;I actually set up a codeplex project last week, so at some point in the very near future, I will put all the code on there so folk can look at it any time, and check out some of my other samples!&lt;/p&gt;
&lt;p&gt;I will post here once its up and running.&lt;/p&gt;
&lt;p&gt;Thanks for reading!&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8913408</link><pubDate>Sun, 31 Aug 2008 16:12:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8913408</guid><dc:creator>Prabhakar </dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;This sample is great and thanks for taking this initiative to publish the sample similar to &amp;nbsp;the CUI demonstration. &lt;/p&gt;
&lt;p&gt;I quickly tried to convert this sample into WPF and am getting some flickering during the animation for drag and drop. Any idea on this.&lt;/p&gt;
&lt;p&gt;regds,&lt;/p&gt;
&lt;p&gt;Prabakar&lt;/p&gt;
</description></item><item><title>Silverlight Cream for September 02, 2008 -- #360</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8921337</link><pubDate>Wed, 03 Sep 2008 08:46:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8921337</guid><dc:creator>Community Blogs</dc:creator><description>&lt;p&gt;Koen Zwikstra with Silverlight Spy, John Papa on UserControl from Popup Control, Shawn Wildermuth on&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8921890</link><pubDate>Wed, 03 Sep 2008 15:22:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8921890</guid><dc:creator>Dargos</dc:creator><description>&lt;p&gt;Hi martin,&lt;/p&gt;
&lt;p&gt;thanks for this amazing usefull article !&lt;/p&gt;
&lt;p&gt;that's clean stuff and I learned a lot, thanks ;)&lt;/p&gt;
&lt;p&gt;regards,&lt;/p&gt;
&lt;p&gt;Dargos&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8956196</link><pubDate>Thu, 18 Sep 2008 00:18:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8956196</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Prabhakar,&lt;/p&gt;
&lt;p&gt;Not sure why you are seeing flickering - quite possible to do with the way we do animation.&lt;/p&gt;
&lt;p&gt;If possible, could you send me your wpf sample to take a look?&lt;/p&gt;
&lt;p&gt;martin.grayson@microsoft.com.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8956452</link><pubDate>Thu, 18 Sep 2008 04:14:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8956452</guid><dc:creator>Gabriel Valencia</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;this is a very useful sample. I try to convert to WPF but I have some problems, the first error is that can't create the DragDockPanel.&lt;/p&gt;
&lt;p&gt;debuging It seems that the error is in the AnimatedContentControl.cs&lt;/p&gt;
&lt;p&gt;I change the XamlReader.Load line for the next lines:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Load the XAML&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;StringReader stringReader = new StringReader(animatedElementXaml);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XmlReader xmlReader = XmlReader.Create(stringReader);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Create a canvas from the XAML&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Canvas animatedElement = XamlReader.Load(xmlReader) as Canvas;&lt;/p&gt;
&lt;p&gt;unfortunately is not working. what I missing??&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8957133</link><pubDate>Thu, 18 Sep 2008 14:15:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8957133</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hey, to fix this, where you construct the animatedElementXAML, the first line, currently this...&lt;/p&gt;
&lt;p&gt;animatedElementXaml += &amp;quot;&amp;lt;Canvas xmlns='&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/client/2007"&gt;http://schemas.microsoft.com/client/2007&lt;/a&gt;' xmlns:x='&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/winfx/2006/xaml"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/a&gt;'&amp;gt;&amp;quot;;&lt;/p&gt;
&lt;p&gt;Needs to be replaced with this...&lt;/p&gt;
&lt;p&gt;animatedElementXaml += &amp;quot;&amp;lt;Canvas xmlns='&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/winfx/2006/xaml"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/a&gt;/presentation' xmlns:x='&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/winfx/2006/xaml"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/a&gt;'&amp;gt;&amp;quot;;&lt;/p&gt;
&lt;p&gt;This is beacuse of the different XAML namespaces with WPF and Silverlight.&lt;/p&gt;
&lt;p&gt;HTH,&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8957388</link><pubDate>Thu, 18 Sep 2008 18:04:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8957388</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I was woundering if you could help me with an expression blend problem. When I edit a button' control part's like in your creating a glass button lesson, I would like to be able to have the content presenter's Forecolor change from white to black when the mouse is over, and to white again when the mouse leaves.&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8957559</link><pubDate>Thu, 18 Sep 2008 20:13:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8957559</guid><dc:creator>Gabriel Valencia</dc:creator><description>&lt;p&gt;Hi again.&lt;/p&gt;
&lt;p&gt;It seems that work with the change of the xmlns, now I having problem with the animations. first show only one panel, &amp;nbsp;then when I do a resize shows correctly (the 6 panels)&lt;/p&gt;
&lt;p&gt;also anyone know how to migrate the animations of the maximize/minimize button that only works on silverlight?&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8958536</link><pubDate>Fri, 19 Sep 2008 13:14:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8958536</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hi Gabriel,&lt;/p&gt;
&lt;p&gt;For the first issue, I think you need to call UpdateLayout from the hosts loaded event (this is down to the order of eventing in WPF).&lt;/p&gt;
&lt;p&gt;And yes, the toggle button wont port just yet. You will need to redo the template in blend using triggers.&lt;/p&gt;
&lt;p&gt;I am thinking about producing a WPF version as there have been many request, I cant promise a date, but hopefully by the end of october.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8958538</link><pubDate>Fri, 19 Sep 2008 13:15:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8958538</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Jim, wrong post, but hey!&lt;/p&gt;
&lt;p&gt;You should be able to do this in the triggers panel. Add a mouse over = true trigger that sets the content presenters forground to a color, then back again when the property becomes false.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8958783</link><pubDate>Fri, 19 Sep 2008 17:19:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8958783</guid><dc:creator>scromer</dc:creator><description>&lt;p&gt;Very cool controls. I downloaded the sample but it when I try to open it in Visual Studio 2008 I get an error message saying the DragDockPanelSample.csproj cannot be opened. The project type is not supported by this installation. Anyone else see this?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Sam&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8959070</link><pubDate>Fri, 19 Sep 2008 19:44:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8959070</guid><dc:creator>Gabriel Valencia</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I fix the problem with the Toggle button. if anyone is intereseted, I use the next library &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/johngossman/archive/2008/08/08/visualstatemanager-for-desktop-wpf.aspx"&gt;http://blogs.msdn.com/johngossman/archive/2008/08/08/visualstatemanager-for-desktop-wpf.aspx&lt;/a&gt; this library enable the use of VSM in WPF. Note. you need to add the support to the three states of the Togle Button (Checked, Unchecked, Indeterminate) just take a look of the code. you can mail me at mxsmax@msn.com&lt;/p&gt;
&lt;p&gt;in other hands, I had the same problem the flick when you try to do the drag &amp;amp; drop effect. is like the panel move but the grid doesn't &amp;nbsp;the move. anyone had have the same problem?&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8960251</link><pubDate>Sun, 21 Sep 2008 01:47:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8960251</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hey scromer,&lt;/p&gt;
&lt;p&gt;To modify, compile and run the source code, you need Visual Studio 2008 + .NET 3.5 with the Siverlight 2 Beta 2 tools and developer runtimes. You can get access to all the bits from here... :&lt;a rel="nofollow" target="_new" href="http://silverlight.net/GetStarted/"&gt;http://silverlight.net/GetStarted/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;HTH, Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8969941</link><pubDate>Tue, 30 Sep 2008 09:53:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8969941</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hey gabriel,&lt;/p&gt;
&lt;p&gt;Someone sent me a video of the flickring issue. I think this is down to the differences in WPF and Silverlight mouse move events. A workaround for WPF would be to use the WPF thumb control as the grip bar, and then hook up the Thumb controls DragDelta event, and pass the HoriztonalChange and VerticalChange up in the drag event args.&lt;/p&gt;
&lt;p&gt;I have tried this, but think that should do the trick.&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8972030</link><pubDate>Wed, 01 Oct 2008 21:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8972030</guid><dc:creator>reyn_L</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;I've tried this sample on the SL2Beta2 and it works perfect. And when I updated to the RCO, on the initial load, it just stacks them together. But when I resize, then it displays properly. I created just XAMLs without controls in them, it displays them properly when the page loads. But as soon as I start adding controls, the page are stack when it loads the first time.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;reyn_l&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8972091</link><pubDate>Wed, 01 Oct 2008 22:31:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8972091</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hey reyn_L,&lt;/p&gt;
&lt;p&gt;This is a known bug in the drag dock panel host. It is because in Beta 2 the Loaded event fired before the SizeChanged. In RC0, its the other way around.&lt;/p&gt;
&lt;p&gt;To fix in the meantime, you need to just add a...&lt;/p&gt;
&lt;p&gt;this.UpdatePanelLayout();&lt;/p&gt;
&lt;p&gt;...to the end of the loaded event handler.&lt;/p&gt;
&lt;p&gt;This will be fixed in the version of the control that appears in &lt;a rel="nofollow" target="_new" href="http://www.codeplex.com/blacklight"&gt;http://www.codeplex.com/blacklight&lt;/a&gt; at the end of October release.&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8973631</link><pubDate>Thu, 02 Oct 2008 17:18:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8973631</guid><dc:creator>reyn_L</dc:creator><description>&lt;p&gt;Hello Martin,&lt;/p&gt;
&lt;p&gt;Thanks very much for the prompt response and help on this issue.&lt;/p&gt;
&lt;p&gt;Sincerely,&lt;/p&gt;
&lt;p&gt;reyn_L&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#8974073</link><pubDate>Thu, 02 Oct 2008 21:15:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8974073</guid><dc:creator>Harlequin</dc:creator><description>&lt;p&gt;Was wondering if there's a way for it to only do columns. Instead of 4 boxes being 2x2. you want them like this:&lt;/p&gt;
&lt;p&gt;[BOX EXPANDED]&lt;/p&gt;
&lt;p&gt;[BOX]&lt;/p&gt;
&lt;p&gt;[BOX]&lt;/p&gt;
&lt;p&gt;[BOX]&lt;/p&gt;
&lt;p&gt;Then if you maximize the 3rd box, it would squeeze the other ones shut and open itself up.&lt;/p&gt;
&lt;p&gt;Could probably be done in the C#, but I'd like to add a property to DragDockPanelHost or something. Better approach.&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9003317</link><pubDate>Fri, 17 Oct 2008 20:03:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9003317</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have knocked up a quick version of this in WPF. I will make sure it is in Blacklight (&lt;a rel="nofollow" target="_new" href="http://www.codeplex.com/blacklight"&gt;http://www.codeplex.com/blacklight&lt;/a&gt;) for the release at the end the this month, with tidy code and nice templates etc...&lt;/p&gt;
&lt;p&gt;... However, if you wanted it now, you can get the source code from here...&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://mightymeaty.members.winisp.net/samples/TestDragDockPanel.zip"&gt;http://mightymeaty.members.winisp.net/samples/TestDragDockPanel.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9009190</link><pubDate>Tue, 21 Oct 2008 13:31:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9009190</guid><dc:creator>Rui Marinho</dc:creator><description>&lt;p&gt;Hello Martin, and thank you very much for the wpf version, is impressive :)&lt;/p&gt;
&lt;p&gt;i would like to suggest a feature, that is the abillity to have all panels minimized, for example, imagine ou want to have all panels with minimize height of 100, and minimize width of 50, and minimize on the left, to act like tabs, but when you minimize the one is opens it should not go to the normal stat, but keep minimized like the others.&lt;/p&gt;
&lt;p&gt;and another question i would like to ask, is how is it possible to determinate the rows and columns of the panel host? &lt;/p&gt;
&lt;p&gt;Thank very much once again..&lt;/p&gt;
&lt;p&gt;Rui Marinho&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9011716</link><pubDate>Thu, 23 Oct 2008 00:10:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9011716</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hi Rui,&lt;/p&gt;
&lt;p&gt;Nice suggestion. I have thought about adding a minimise button to each panel, so you can minimise them one by one. This would probably achieve the scenario you have described above. I will keep the idea open!&lt;/p&gt;
&lt;p&gt;If you get round to having a go yourself, let me know!&lt;/p&gt;
&lt;p&gt;The host actually does store the number of columns and rows, in private variables. You could add public get's to these no problem!&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9012752</link><pubDate>Thu, 23 Oct 2008 12:39:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9012752</guid><dc:creator>Naidu</dc:creator><description>&lt;p&gt;Maritin,&lt;/p&gt;
&lt;p&gt;That was quite excellent showcasing about WPF capabilities.&lt;/p&gt;
&lt;p&gt;i have a query for you&lt;/p&gt;
&lt;p&gt;i have gone through the code of your application, but i could not see that the panels can be arranged in vertical position(i mean one above the other)&lt;/p&gt;
&lt;p&gt;can we do that or can't we ? if so how....&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9035557</link><pubDate>Tue, 04 Nov 2008 01:40:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9035557</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hi Naidu, there is now a property on the Drag Dock host that allows you to pick where the panels go... Minimized position i think.&lt;/p&gt;
&lt;p&gt;If you get the latest release from Codeplex (came out 2 days ago) then you will see the property in there.&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9132740</link><pubDate>Sat, 22 Nov 2008 14:33:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9132740</guid><dc:creator>john79</dc:creator><description>&lt;p&gt;hi guys,&lt;/p&gt;
&lt;p&gt;do you know how to show a page.xaml in a panel?&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9138703</link><pubDate>Mon, 24 Nov 2008 23:07:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9138703</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;The Page.xaml should be a user control, and so, can be placed inside a drag dock panel.&lt;/p&gt;
&lt;p&gt;This is assuming that the Page.xaml isnt the root page that you load in App.xaml.cs...?&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9142640</link><pubDate>Tue, 25 Nov 2008 21:52:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9142640</guid><dc:creator>Noam</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have been working with the new Blacklight version of this control and found a bug. If you remove the maximized panel, the host gets mixed up. To resolve I added a line in the RemovePanel method that checks if it the correct control, and if so, nulls the maximizedPanel member. Seems to resolve the issue.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9142837</link><pubDate>Wed, 26 Nov 2008 01:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9142837</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hi Noam,&lt;/p&gt;
&lt;p&gt;Thanks for reporting the bug, and giving us a fix. Will get this in for the release on the 5th December!&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9448793</link><pubDate>Fri, 27 Feb 2009 16:58:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9448793</guid><dc:creator>Jurie Smit</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;I am using your blacklight dragdockpanel to develop a dashboard with an extremely high level of customization. Before I put too much effort and time into customizing your control to suite my excact requirements I was wondering whether you have seen any implementations of the &amp;quot;minimize&amp;quot; button, as well as the dynamic run-time addition of panels into you control? Any implementation/code along those lines would obviously be very usefull to me.&lt;/p&gt;
&lt;p&gt;Another idea I have is combining your control with gridsplitters. Somehow struggling to get started with this though, not sure how to approach the problem... any possible pointers from you maybe?&lt;/p&gt;
&lt;p&gt;Any help would obviously be greatly appreciated. Thank you, smit.jurie@gmail.com&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9448796</link><pubDate>Fri, 27 Feb 2009 17:01:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9448796</guid><dc:creator>Jurie Smit</dc:creator><description>&lt;p&gt;(Afterthought: forget about the minimize button... Seems fairly straightforward to implement.&lt;/p&gt;
&lt;p&gt;Those gridsplitter though...)&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9462966</link><pubDate>Fri, 06 Mar 2009 19:13:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9462966</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hmmmm. grid splitters wouldnt work well in the control as it is today.&lt;/p&gt;
&lt;p&gt;You would need to embark upon creating a new control, or inherit the existing host and add a bunch more code.&lt;/p&gt;
&lt;p&gt;As for dynamic adding of panels, that has been supported since V2. Look at the showcase sample page code.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9468634</link><pubDate>Tue, 10 Mar 2009 06:31:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9468634</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We're looking at creating an application modeled after the MS Patient Journey demo app. &amp;nbsp;Also, we're probably going to use Prism as well. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you show how your panels can be hooked up to Prism??&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9468820</link><pubDate>Tue, 10 Mar 2009 11:26:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9468820</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hi Jeff,&lt;/p&gt;
&lt;p&gt;I havent done any work with Prism yet, so couldnt provide an example, however, the panels are just content controls, and you can place what ever content you like inside.&lt;/p&gt;
&lt;p&gt;So, if you built a UserControl is prism capabilities, you could just drop that inside a panel!&lt;/p&gt;
&lt;p&gt;Simple!&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9483929</link><pubDate>Tue, 17 Mar 2009 18:36:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9483929</guid><dc:creator>GuruC</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;Thanks for sharing this excellent work!&lt;/p&gt;
&lt;p&gt;I tried to extend the DradDockPanel class to override some minimized/maximized actions. However, there would be a runtime failure when I used my class inside the DragDockPanelHost. &lt;/p&gt;
&lt;p&gt;On debugging the problem is caused in &lt;/p&gt;
&lt;p&gt; private void DragDockPanelHost_Loaded(object sender, RoutedEventArgs e) {&lt;/p&gt;
&lt;p&gt;....&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for (int i = 0; i &amp;lt; this.Children.Count; i++)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &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; &amp;nbsp; &amp;nbsp;if (this.Children[i].GetType() == typeof(DragDockPanel))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;This type checking seems to fail. I replaced it with &lt;/p&gt;
&lt;p&gt;if (this.Children[i] is DragDockPanel)&lt;/p&gt;
&lt;p&gt;and now I can use the derived class. Please let me know if this is okay or I missed something?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9504120</link><pubDate>Tue, 24 Mar 2009 15:52:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9504120</guid><dc:creator>LynYo</dc:creator><description>&lt;p&gt;Great work. Awesome example of what can be done with Silverlight. But if, like me, you need a little more handholding in order to grasp the delicasies of custom control building, then you probably want to have a look at Jesse Liberty's 3 part video tutorial on skinnable custom controls (links below) FIRST before you even attempt looking at the sourcecode or try to make sense of the blog posting. Trust me.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://silverlight.net/learn/learnvideo.aspx?video=116200"&gt;http://silverlight.net/learn/learnvideo.aspx?video=116200&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://silverlight.net/learn/learnvideo.aspx?video=141967"&gt;http://silverlight.net/learn/learnvideo.aspx?video=141967&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://silverlight.net/learn/learnvideo.aspx?video=149875"&gt;http://silverlight.net/learn/learnvideo.aspx?video=149875&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9504982</link><pubDate>Tue, 24 Mar 2009 21:52:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9504982</guid><dc:creator>LynYo</dc:creator><description>&lt;p&gt;BTW one more video in &amp;nbsp;Jesse Liberty's on skinnable custom controls &amp;nbsp;series:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://silverlight.net/learn/learnvideo.aspx?video=149876"&gt;http://silverlight.net/learn/learnvideo.aspx?video=149876&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9558638</link><pubDate>Tue, 21 Apr 2009 11:35:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9558638</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hi GuruC,&lt;/p&gt;
&lt;p&gt;Your change is valid, and I will put it into the next release.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9828481</link><pubDate>Fri, 10 Jul 2009 11:28:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9828481</guid><dc:creator>John D Costa</dc:creator><description>&lt;p&gt;hey martin.. &lt;/p&gt;
&lt;p&gt;in a dragdock panel i want that each panel should be minimized initially..by minimize i mean only the header should be visible not the content... pointers to this will be appreciated&lt;/p&gt;
&lt;p&gt;and Is it possible with minimum change of code...&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9893647</link><pubDate>Thu, 10 Sep 2009 16:41:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9893647</guid><dc:creator>Michael</dc:creator><description>&lt;p&gt;Just a suggestion.... &amp;nbsp;you need to make a Silverlight tab in your main page. &amp;nbsp;While SL is a subset of WPF, it is worthy of it's own section. &amp;nbsp;I'm on the learning curve for WPF and I'm looking forward to digging into SL when I'm ready. &amp;nbsp;Great article.&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/29/silverlight-2-samples-dragging-docking-expanding-panels-part-3.aspx#9897122</link><pubDate>Sat, 19 Sep 2009 16:55:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9897122</guid><dc:creator>AKS</dc:creator><description>&lt;p&gt;Is it possible to use the DragDockPanel &amp;amp; Host as-is to create a more complex layout as found here:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.mscui.net/PatientJourneyDemonstrator/PrimaryCare.htm"&gt;http://www.mscui.net/PatientJourneyDemonstrator/PrimaryCare.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;
</description></item></channel></rss>