<?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 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.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>funny wallpaper &amp;raquo; Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8876645</link><pubDate>Mon, 18 Aug 2008 18:32:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8876645</guid><dc:creator>funny wallpaper &amp;raquo; Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://housesfunnywallpaper.cn/?p=1214"&gt;http://housesfunnywallpaper.cn/?p=1214&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8877125</link><pubDate>Mon, 18 Aug 2008 23:15:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8877125</guid><dc:creator>WurzelGogerer</dc:creator><description>&lt;p&gt;Real nice... Thanks for showing us how you guys did ur awesome demo!&lt;/p&gt;
&lt;p&gt;Cant wait for Part 3 though!&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8877184</link><pubDate>Mon, 18 Aug 2008 23:46:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8877184</guid><dc:creator>Raju Khanchustambham</dc:creator><description>&lt;p&gt;Thanks Martin for sharing your thoughts and ideas on dragging/docking of the controls through this post. The ideas are really nice and cool.&lt;/p&gt;
&lt;p&gt;Hoping to see your post on Maximizing the controls soon.&lt;/p&gt;
&lt;p&gt;-Raju&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8877826</link><pubDate>Tue, 19 Aug 2008 07:27:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8877826</guid><dc:creator>samcov</dc:creator><description>&lt;p&gt;Thanks Martin! &amp;nbsp;On the subject of using a Canvas, I think it's similar to the &amp;quot;GoTo&amp;quot; argument. &amp;nbsp;Having said that, while you may need the Canvas to promote easy dragging, I have implemented a similar shifting object application using Stack Panels or Grids(no animation). &amp;nbsp;I think it really depends on how you're used to approaching the problem. &amp;nbsp;In reality, EVERYTHING is based off of absolute positioning! &amp;nbsp;The various panels simply give us the apperance of it not being there for simplicity of design.&lt;/p&gt;
&lt;p&gt;One other issue. &amp;nbsp;I tried adding a simple button to test adding another object, but couldn't control the size. &amp;nbsp;Is there a way to have DragDockPanel's of different sizes?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8877890</link><pubDate>Tue, 19 Aug 2008 08:21:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8877890</guid><dc:creator>Prejesh Prakash</dc:creator><description>&lt;p&gt;Please give some insight about how to build a day dairy of a doctor you implemented in demonstrator&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8878008</link><pubDate>Tue, 19 Aug 2008 09:41:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8878008</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hi all, part 3 should be here by the end of the week!&lt;/p&gt;
&lt;p&gt;samcov - DragDockPanelHost, as it currently is, overrides any set size of the panels to fill the grid cell. Really, in a fuller implementation, the host should look at the panels alignment properties and specified sizes and display them as the user has specified. I havent done that here as I really wanted to focus on the dragging and docking functionality.&lt;/p&gt;
&lt;p&gt;One way to set a panels size, however, is to set the MaxWidth and MaxHeight rather than the width and height. This will align the panel to the top left of the cell, but keep the specified size.&lt;/p&gt;
&lt;p&gt;If you extend the host to cope with these scenarios and dont mind sharing, let me know and I can post an update here.&lt;/p&gt;
&lt;p&gt;Prejesh - I hope to cover at some point how I go about building expanding / collapsing lists (as we see in the Dr's schdeule), and I am sure I can produce a simliar example. Probably wont be for a few weeks however, as there are some other topics I intent to write about first - e.g. drag &amp;amp; drop, customising list boxes etc.&lt;/p&gt;
&lt;p&gt;Thanks for all the feedback,&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8880018</link><pubDate>Wed, 20 Aug 2008 02:25:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8880018</guid><dc:creator>samcov</dc:creator><description>&lt;p&gt;Martin, 4 more points...&lt;/p&gt;
&lt;p&gt;First, I would share anything I do with this. &amp;nbsp;Secondly, I just had the thought that what you've really created is a pseudo WrapPanel(the host). &lt;/p&gt;
&lt;p&gt;Third, the MaxWidth works fine, but as I re-thought what I really wanted, it's a bit more complicated. &amp;nbsp;The goal was to have a &amp;quot;Portal&amp;quot; type layout, a 3 column situation where the middle column is allowed to be wider than the two outer columns. &amp;nbsp;There are also other layout combinations, but I'll have to think about what I need to accomplish, i.e. not something I'm asking you to implement, just getting it off my chest.&lt;/p&gt;
&lt;p&gt;Fourth, I tried to place a host inside a host, and it crashed. &amp;nbsp;I mention this just as an FYI because I can see the design probably isn't geared to do this type of nesting.&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8889810</link><pubDate>Sat, 23 Aug 2008 08:20:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8889810</guid><dc:creator>shan</dc:creator><description>&lt;p&gt;Hi Martin&lt;/p&gt;
&lt;p&gt;I want to create dockable panel, is this possible by using your solution. &lt;/p&gt;
&lt;p&gt;It means like visual studio editor you can move explorer, Properties or output window and dock them any four side.&lt;/p&gt;
&lt;p&gt;Plz help me how can i achieve this. &lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8896518</link><pubDate>Tue, 26 Aug 2008 10:28:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8896518</guid><dc:creator>brandon</dc:creator><description>&lt;p&gt;tried to open and build your solutions in VS08.. the page just keeps loading and nothing appears...&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8897217</link><pubDate>Tue, 26 Aug 2008 15:49:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8897217</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hi brandon,&lt;/p&gt;
&lt;p&gt;Do you definately have the silverlight tools installed?&lt;/p&gt;
&lt;p&gt;Goto www.silverlight.net, click getting started at the top, and follow the steps. &lt;/p&gt;
&lt;p&gt;Let me know if you still have issues.&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8897291</link><pubDate>Tue, 26 Aug 2008 16:25:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8897291</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hi Shan,&lt;/p&gt;
&lt;p&gt;If you are looking to build something like visual studio's docking system, this sample probably isnt the best place to start, as it is quite grid centric. It sounds like you are after something more like the WPF DockPanel control.&lt;/p&gt;
&lt;p&gt;A quick search found this - a controls project that contains a DockPanel...&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.codeplex.com/SLExtensions"&gt;http://www.codeplex.com/SLExtensions&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I would say that it wouldnt be too hard to build something yourself, particularly if you know how many columns / rows you need, you can use Silverlight's Grid control and place your sub panels in different rows and columns. You can then do some drag and drop by updating your sub panels TranslateTransform...&lt;/p&gt;
&lt;p&gt;Let me know how you get on! It would be great to see an IDE framework in Silverlight!&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8903822</link><pubDate>Thu, 28 Aug 2008 21:02:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8903822</guid><dc:creator>marjantehrani</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;Appreciate for the great samples :)&lt;/p&gt;
&lt;p&gt;I'm trying to learn your sample. I placed it into my application; but whenever I start the page, all panels are stack at top of each other and it's mazimized!&lt;/p&gt;
&lt;p&gt;once I click on it, then they get rearranged same as sample.&lt;/p&gt;
&lt;p&gt;I can't figure out why it does that...however, I have a master page with a container; and I call this page into the container of the master page. I'm suspices that when I load the page, containers are getting mixed up.&lt;/p&gt;
&lt;p&gt;I'm looking forward to seeing the third part of the sample for maximizing the panels. Do you know when you will post the next sample?&lt;/p&gt;
&lt;p&gt;great job...thanks a lot&lt;/p&gt;
&lt;p&gt;Marjan&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8904236</link><pubDate>Fri, 29 Aug 2008 01:04:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8904236</guid><dc:creator>marjantehrani</dc:creator><description>&lt;p&gt;I was able to fix that problem.&lt;/p&gt;
&lt;p&gt;The UpdatePanelLayout Event was getting called ahead of Loaded Event....I just placed the UpdatePanelLayout() at the end of the Loaded Event...and it works....&lt;/p&gt;
&lt;p&gt;Now....I'm hoping to get the expanding panels sample....&lt;/p&gt;
&lt;p&gt;Thanks again for this great samples :)&lt;/p&gt;
&lt;p&gt;Marjan&lt;/p&gt;
</description></item><item><title>Silverlight 2 Samples: Dragging, docking, expanding panels (Part 3)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8905740</link><pubDate>Fri, 29 Aug 2008 19:43:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8905740</guid><dc:creator>Martin Grayson: Adventures of a 'Devigner'</dc:creator><description>&lt;p&gt;In Part 1 , we looked at how we construct a Dragging, docking, expanding panel, and added the ‘dragging’&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8906034</link><pubDate>Fri, 29 Aug 2008 20:50:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8906034</guid><dc:creator>marjantehrani</dc:creator><description>&lt;p&gt;Thanks Martin....&lt;/p&gt;
&lt;p&gt;I'm trying to customize the panels and I would like to place them in tabcontrol...I tried, but getting error at initialization time....&lt;/p&gt;
&lt;p&gt;It looks like I'm getting limited with the design!&lt;/p&gt;
&lt;p&gt;Any Idea? I want to put all the panels into the tabcontrol and still being dockable and expandable....then on each panel having a button and if user click on it....it shows the result in the new tab of the tabcontrol....&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Marjan&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8908848</link><pubDate>Sat, 30 Aug 2008 10:52:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8908848</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hey there marjantehrani,&lt;/p&gt;
&lt;p&gt;A collegue of mine had trouble with tabs before too. I think this is because the tab control uses the Visibility property on the content to show / hide it, and when visibility is used, it seems to play about with the layout - e.g. the loaded event will get called for the first time when visibility is set to visible, but we wont get the size changed event, and the size is normally 0 when the loaded event is run.&lt;/p&gt;
&lt;p&gt;If you could send me a quick sample of your issue (martin.grayson@microsoft.com) I could come up with a workaround. My collegue was playing around with calling UpdatePanelLayout in the loaded event, as you tried, but if the control has no size, then we will need to come up with something else.&lt;/p&gt;
&lt;p&gt;Let me know, and if you can, please send over a sample.&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 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8920798</link><pubDate>Wed, 03 Sep 2008 00:49:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8920798</guid><dc:creator>marjantehrani</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;Thanks for your update....It's great...&lt;/p&gt;
&lt;p&gt;I have emailed you the sample code for the tabcontrol problem...&lt;/p&gt;
&lt;p&gt;and yes, you are right, the problem is happening in the DragDockPanelHost.cs file in updatePanelLayout...the this.ActualWidth is 0.0&lt;/p&gt;
&lt;p&gt;thanks again&lt;/p&gt;
&lt;p&gt;Marjan Tehrani&lt;/p&gt;
</description></item><item><title>Silverlight Cream for September 02, 2008 -- #360</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8921336</link><pubDate>Wed, 03 Sep 2008 08:46:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8921336</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 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8956195</link><pubDate>Thu, 18 Sep 2008 00:15:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8956195</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hey marjantehrani,&lt;/p&gt;
&lt;p&gt;Got your mail. I am taking a look and will get back to you very soon!&lt;/p&gt;
&lt;p&gt;:)&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8964173</link><pubDate>Thu, 25 Sep 2008 01:23:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8964173</guid><dc:creator>marjantehrani</dc:creator><description>&lt;p&gt;Thanks Martin,&lt;/p&gt;
&lt;p&gt;I was able to have datagrid on the panel....and the trick was having the datagrid in the grid layout....if I was placing it in the canvas or stackpanel then it wasn't working properly....such as datagrid scrolling....&lt;/p&gt;
&lt;p&gt;I'm trying to add panels dynamically instead of loading them at the loading the page....&lt;/p&gt;
&lt;p&gt;The other change I made was having one panel maximized and the others minimized at the very begining when the page is getting loaded....but then this will affect all the pages using the panels....&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;
&lt;p&gt;Marjan&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#8969963</link><pubDate>Tue, 30 Sep 2008 10:28:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8969963</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hey marjantehrani,&lt;/p&gt;
&lt;p&gt;I am looking to port the host panel to be an items control so we can handle dynamic panels. Having a default maxmised panel is another good idea.&lt;/p&gt;
&lt;p&gt;If you get the chance, can you head over to www.codeplex.com/blacklight and on the issue tracker tab add these as feature requests?&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 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#9141054</link><pubDate>Tue, 25 Nov 2008 10:38:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9141054</guid><dc:creator>Jacky Kenhjiro</dc:creator><description>&lt;p&gt;I want Control Content on Zoom Windows(Maximize) and Minimize&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#9141067</link><pubDate>Tue, 25 Nov 2008 10:44:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9141067</guid><dc:creator>Jacky Kenhjiro</dc:creator><description>&lt;p&gt;How About .. I Can Control Content Zoom Windows (Maximize) and Minimize Windows&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#9142836</link><pubDate>Wed, 26 Nov 2008 01:00:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9142836</guid><dc:creator>Martin Grayson</dc:creator><description>&lt;p&gt;Hi Jacky,&lt;/p&gt;
&lt;p&gt;A couple of approaches here...&lt;/p&gt;
&lt;p&gt;1. (The easiest) Your content could listen to its SizeChanged event, and change whats visible when it gets to a certain size.&lt;/p&gt;
&lt;p&gt;2. You could inherit DragDropPanel with different panel for each type of content, listen to the events (which should fire as soon as the button is clicked) and change your content. You wont get the minimised event on every panel, only the one where the button is clicked. You will probably need to code around this.&lt;/p&gt;
&lt;p&gt;3. You could add methods to the base class called MaximiseContent / MinimiseContent which each inherited panel overrides.&lt;/p&gt;
&lt;p&gt;And my favourite...&lt;/p&gt;
&lt;p&gt;4. Have an interface - IDragDockPanelContent - that has 2 methods - MaximiseContent / MinimiseContent - all of your content user controls can implement this, and then your DragDockPanel can call the methods at the appropriate time on its content.&lt;/p&gt;
&lt;p&gt;Just some ideas, good luck!&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#9620848</link><pubDate>Sat, 16 May 2009 05:56:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9620848</guid><dc:creator>Kevin Preston</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Great tutorial thanks for the effort. I am trying to get the same layout as the Doctor Landing Page of the Primary Care CUI Showcase i.e One panel on the left that spans 2 rows then another 4 or 6 panels to the right each one a sinlge row and column.&lt;/p&gt;
&lt;p&gt;Where do I set the row span on a dock panel?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Kevin.&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#9620873</link><pubDate>Sat, 16 May 2009 06:03:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9620873</guid><dc:creator>Kevin Preston</dc:creator><description>&lt;p&gt;to to extend on the above question, I am using VS2008 and Blend 2 and usign WPF controls not Silverlight&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#9823098</link><pubDate>Tue, 07 Jul 2009 22:55:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9823098</guid><dc:creator>rayabharapu</dc:creator><description>&lt;p&gt;I am using blacklight controls in my project with changes to the colors. &amp;nbsp;I need to have 6 DragDockPanel out of which first column should have 2, second column with 1 and third column with 3 DragDockPanel panels in the DragDockPanelHost. &amp;nbsp;Please let me know how i can do this.&lt;/p&gt;
&lt;p&gt;I don't think the above article would help me, Please let me know your thoughts.&lt;/p&gt;
</description></item><item><title>re: Silverlight 2 Samples: Dragging, docking, expanding panels (Part 2)</title><link>http://blogs.msdn.com/mgrayson/archive/2008/08/18/silverlight-2-samples-dragging-docking-expanding-panels-part-2.aspx#9824112</link><pubDate>Wed, 08 Jul 2009 18:10:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9824112</guid><dc:creator>Hefe316</dc:creator><description>&lt;p&gt;I want to be able to click inside of a DragDockPanel and have it automatically become the active panel with a move and a resize thus emulating clicking the expand button. Is there anyway to do this?&lt;/p&gt;
</description></item></channel></rss>