<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.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>Silverlight Controls and Silverlight Toolkit</title><link>http://forums.silverlight.net/forums/35.aspx</link><description>Discussions around using and developing Silverlight controls and the Silverlight Toolkit</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Re: Re: Value does not fall within the expected range.</title><link>http://forums.silverlight.net/forums/thread/261254.aspx</link><pubDate>Fri, 31 Jul 2009 12:04:47 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:261254</guid><dc:creator>siva_cxxiv</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/261254.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=261254</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Here is a&amp;nbsp;dragable window&amp;nbsp;sample. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://timheuer.com/blog/archive/2009/07/21/floatable-window-source-on-codeplex.aspx"&gt;http://timheuer.com/blog/archive/2009/07/21/floatable-window-source-on-codeplex.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Siva&lt;br /&gt;------------------------------&lt;br /&gt;Please &amp;#39;mark as answer&amp;#39; if my reply helps you.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Value does not fall within the expected range.</title><link>http://forums.silverlight.net/forums/thread/238373.aspx</link><pubDate>Fri, 26 Jun 2009 15:52:12 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:238373</guid><dc:creator>hoangtuit</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/238373.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=238373</wfw:commentRss><description>&lt;p&gt;Thanks sladapter,&lt;/p&gt;&lt;p&gt;I opened PopupWindow.cs file, and I saw close method:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void Close()&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (this.ModalMask != null)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.ModalMask.Visibility = Visibility.Collapsed;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.Visibility = Visibility.Collapsed;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;I&amp;#39;m beginer. Now, I can reopen form, but, I want edit PopupWindow.cs to close form.&lt;/p&gt;&lt;p&gt;ex: method CloseMode (hide or close form) .&lt;/p&gt;&lt;p&gt;How to do it. Please show me.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Sorry about my EN. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;
&lt;/p&gt;</description></item><item><title>Re: Value does not fall within the expected range.</title><link>http://forums.silverlight.net/forums/thread/238310.aspx</link><pubDate>Fri, 26 Jun 2009 13:26:57 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:238310</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/238310.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=238310</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;The &amp;quot; Value does not fall within the expected range&amp;quot; error usually happens when you try to add a control to the visual tree more than once. When you first open the window, you created a popup and added it to the container. When you close the popup did you remove it from the container or just hide it. If you did not remove it from it&amp;#39;s parent but just hide it then it&amp;#39;s still in the visual tree. When you click the open button again you create another popup control might also give it the same Name. So you have another control with the same name you are trying to add to the container. That would cause that error. &lt;/p&gt;&lt;p&gt;You can either remove the first popup from it&amp;#39;s parent when you close it or you can reuse that popup by making it visible but change the content to the new content if you don&amp;#39;t want to have more than one popup open at any given time.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Value does not fall within the expected range.</title><link>http://forums.silverlight.net/forums/thread/238047.aspx</link><pubDate>Fri, 26 Jun 2009 02:19:15 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:238047</guid><dc:creator>hoangtuit</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/238047.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=238047</wfw:commentRss><description>&lt;p&gt;Hi sladapter,&lt;/p&gt;
&lt;p&gt;I have a problem.&lt;/p&gt;
&lt;p&gt;I builded a dynamic popup form&amp;nbsp;via a xml file. It&amp;#39;s ok. When I click to &amp;quot;Open&amp;quot; button, form is showed. I can close form..., everything is ok.&lt;/p&gt;
&lt;p&gt;But, when I reopen form, It&amp;#39;s error: Value does not fall within the expected range.&lt;/p&gt;
&lt;p&gt;How can I fix it?&lt;/p&gt;
&lt;p&gt;Sorry about my EN.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Windows cannot dragged and cannot resized</title><link>http://forums.silverlight.net/forums/thread/225265.aspx</link><pubDate>Wed, 27 May 2009 16:04:04 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:225265</guid><dc:creator>SASilver</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/225265.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=225265</wfw:commentRss><description>&lt;p&gt;I tried creating a sample xaml page in the project and it worked. But when i added the 3 files &lt;/p&gt;&lt;p&gt;1. DragDropControl.cs 2. PopupWindow.cs 3. Position.cs and the IMg and Themes folder to my project and run it, i get &amp;quot;Container is Missing in the template&amp;quot; error.&lt;/p&gt;&lt;p&gt;Any guesses why?&lt;/p&gt;&lt;p&gt;I have modified the namespace names. I cannot figure the reason.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Windows cannot dragged and cannot resized</title><link>http://forums.silverlight.net/forums/thread/205151.aspx</link><pubDate>Sat, 11 Apr 2009 22:15:34 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:205151</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/205151.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=205151</wfw:commentRss><description>&lt;p&gt;The code has been added to the codeplex ( thanks to &lt;a href="http://silverlight.net/members/coryking.aspx" class="namelink"&gt;coryking&lt;/a&gt; ). You can download the latest code from here:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://dialogs.codeplex.com/" title="http://dialogs.codeplex.com/"&gt;http://dialogs.codeplex.com/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Windows cannot dragged and cannot resized</title><link>http://forums.silverlight.net/forums/thread/203368.aspx</link><pubDate>Wed, 08 Apr 2009 15:00:26 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:203368</guid><dc:creator>kobruleht</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/203368.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=203368</wfw:commentRss><description>&lt;p&gt;I downloaded code from &lt;/p&gt;
&lt;p&gt;&lt;a title="http://cid-9cffd385fd75195b.skydrive.live.com/self.aspx/Silverlight/DraggableWindow.zip" href="http://cid-9cffd385fd75195b.skydrive.live.com/self.aspx/Silverlight/DraggableWindow.zip"&gt;&lt;font color="#697dff"&gt;http://cid-9cffd385fd75195b.skydrive.live.com/self.aspx/Silverlight/DraggableWindow.zip&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and ran it using latest RTW components. It complains about missing DataGrid. I fixed this by re-adding System.Windows.Data assembly&lt;/p&gt;
&lt;p&gt;Windows cannot dragged and cannot resized.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How to make it work ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Andrus.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using the SL RTW version</title><link>http://forums.silverlight.net/forums/thread/167538.aspx</link><pubDate>Thu, 29 Jan 2009 14:15:07 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:167538</guid><dc:creator>owenter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/167538.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=167538</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;sladapter:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;Here are the steps to split the control from the Silverlight main project and put the control into a separate class library: &lt;br /&gt;&lt;/p&gt;&lt;p&gt;1) Open my demo solution. Add a Silverlight class library project.&amp;nbsp; Move the DragDropControl.cs/PopupWindow.cs/Position.cs file into the class library project. Move the themes folder and generic.xaml in that folder to the class library too. Build the project make it compiles.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2) Add this class library project to the references of your main Silverlight project.&amp;nbsp; You can still use the Page.xaml of my demo project to do this test. You just need to change the name space information and assembly information in the Page.Xaml to point to your class library:&lt;/p&gt;&lt;p&gt;&amp;lt;UserControl x:Class=&amp;quot;DraggableWindow.Page&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:data=&amp;quot;clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns=&amp;quot;http://schemas.microsoft.com/client/2007&amp;quot; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:x=&amp;quot;http://schemas.microsoft.com/winfx/2006/xaml&amp;quot; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:controls=&amp;quot;clr-namespace:&lt;b&gt;YourDraggableWindowClassLibraryNameSpace&lt;/b&gt;&lt;b&gt;&lt;/b&gt;;assembly=&lt;b&gt;YourDraggableWindowClassLibraryAssembly&lt;/b&gt;&amp;quot;&amp;gt;&lt;/p&gt;&lt;p&gt;...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;controls:DragDropControl CanResize=&amp;quot;True&amp;quot; OffsetX=&amp;quot;100&amp;quot; OffsetY=&amp;quot;50&amp;quot;&amp;gt;&lt;/p&gt;&lt;p&gt;... &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/UserControl&amp;gt; &lt;/p&gt;&lt;p&gt;Once it&amp;#39;s working. You can use that class libary in any project.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Tried this, compiles ok but when it runs I get just the white screen and &amp;quot;Done&amp;quot; in the status bar. Tells me that something ain&amp;#39;t right. I copied the img directory and its contents, figured that would be useful to have.&lt;/p&gt;&lt;p&gt;I downloaded your solution and it works fine.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any one else had the same problem and found the solution or maybe Sladapter if you have time and inclination could help.&lt;/p&gt;&lt;p&gt;Great posts on here BTW all useful stuff for us &amp;quot;C&amp;quot; dinosaurs trying to grasp these new technologies. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Re: Using the SL RTW version</title><link>http://forums.silverlight.net/forums/thread/164173.aspx</link><pubDate>Wed, 21 Jan 2009 20:10:54 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:164173</guid><dc:creator>mwieder</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/164173.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=164173</wfw:commentRss><description>&lt;p&gt;Great control!&amp;nbsp; &lt;/p&gt;&lt;p&gt;Is it better to use this implementation then using the Popup control contained in SilverLight? &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Also, my browser says &amp;quot;Error on Page&amp;quot; when the Popup is launched, but it doesn&amp;#39;t seem to affect the functionality and the VS debugger isn&amp;#39;t breaking on it.&amp;nbsp; Anyone else showing that error when launching a Modal Popup with the code above? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Re: Using the SL RTW version</title><link>http://forums.silverlight.net/forums/thread/156340.aspx</link><pubDate>Tue, 06 Jan 2009 01:44:08 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:156340</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/156340.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=156340</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;mwieder,&lt;/strong&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thank you for the suggestion. I have added CloseButtonClicked public event to the Popup window. Now user can handle Close event themselves in the parent control if they want to. If they do not hook up the event,&amp;nbsp; window will be closed using the old Close function.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Using the SL RTW version</title><link>http://forums.silverlight.net/forums/thread/152326.aspx</link><pubDate>Wed, 24 Dec 2008 16:51:46 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:152326</guid><dc:creator>mwieder</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/152326.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=152326</wfw:commentRss><description>&lt;p&gt;sladapter - first of all, thanks for providing the control.&amp;nbsp; &lt;/p&gt;&lt;p&gt;An important improvement would be to hook into an event so that the hosted control can know when the user closed the popup and send information back to the parent control.&amp;nbsp; The way it is coded right now, the Visibility property is used to display or &amp;quot;close&amp;quot; the control, but no event is fired when that property is changed.&amp;nbsp; One suggestion would be to also change the Enabled property of the hosted control since that does trigger an event on the hosted control.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using the SL RTW version</title><link>http://forums.silverlight.net/forums/thread/146066.aspx</link><pubDate>Thu, 11 Dec 2008 15:10:47 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:146066</guid><dc:creator>magicmarky</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/146066.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=146066</wfw:commentRss><description>&lt;p&gt;It would be nice if the cursor changed to a diagonal arrow when over the corners of the window, but I know the Silverlight Cursors class doesn&amp;#39;t contain these unfortunately.&lt;/p&gt;
&lt;p&gt;One minor problem I noticed, which you can see with your sample, is if you resize the window and make it narrower then it cuts the title off halfway along the title bar. This can be fixed by editing the generic.xaml file, in the TitleBar border it defines two columns with default 50% widths, if you give the second column a fixed width of 26 then it fixes this.&lt;/p&gt;</description></item><item><title>Re: Using the SL RTW version</title><link>http://forums.silverlight.net/forums/thread/146000.aspx</link><pubDate>Thu, 11 Dec 2008 12:40:37 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:146000</guid><dc:creator>magicmarky</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/146000.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=146000</wfw:commentRss><description>&lt;p&gt;Thanks for replying. To reproduce the problem with your sample, if you add column and row definitions to the grid, with the first column width 100, second column width *, first row height 100, second row height *, then run it, if you click one of the buttons to open a new dialog then the dialog appears, but it is clipped to 100x100. To fix it you can add the code pw.SetValue(Grid.ColumnSpanProperty, 2); pw.SetValue(Grid.RowSpanProperty, 2); to where the dialog is created.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;</description></item><item><title>Re: Using the SL RTW version</title><link>http://forums.silverlight.net/forums/thread/145468.aspx</link><pubDate>Wed, 10 Dec 2008 15:44:26 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:145468</guid><dc:creator>sladapter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/145468.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=145468</wfw:commentRss><description>&lt;p&gt;I added Grid.ColumnDefinitions and Grid.RowDefinitions on the parent grid, but I did not set Grid.Column and Grid.Row on the PopupWindow, I do not see any problem.&amp;nbsp; If you set the Grid.Row and Grid.Column on the PopupWindow that means you want limit the Draggable area to that cell. Then you can not drag it out of that cell. When you add the Popup window to a Grid, just don&amp;#39;t set the Grid.Column and Grid.Row peropery. If you want to set the initial position, use OffsetX/OffsetY to do it.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Using the SL RTW version</title><link>http://forums.silverlight.net/forums/thread/145296.aspx</link><pubDate>Wed, 10 Dec 2008 10:35:00 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:145296</guid><dc:creator>magicmarky</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/145296.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=145296</wfw:commentRss><description>&lt;p&gt;sladapter, firstly thanks a lot for the draggable window, I need draggable, resizable modal dialogs for a Silverlight application I&amp;#39;m working on and this is brilliant, so really appreciate that!&lt;/p&gt;
&lt;p&gt;However I&amp;#39;ve noticed a problem with it, most UIs I think will use a Grid, and will set up columns and rows within it, but if you do this then any draggable windows will not appear correctly - they will be the size of the first column and row. You can see this in your example project by adding some columns and rows to the grid. You can work around this by setting the ColumnSpan and RowSpan properties on the draggable window when creating it, but it&amp;#39;s taken me a while to figure out what the problem was and it would be nice if you didn&amp;#39;t have to do this, I don&amp;#39;t know if you have any thoughts on that? Can the draggable window code find out the number of columns and rows in the grid and set itself to span them all automatically?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;</description></item></channel></rss>