<?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: Resize canvas children in design-time. (Expression Blend 2)</title><link>http://forums.silverlight.net/forums/thread/159460.aspx</link><pubDate>Mon, 12 Jan 2009 14:21:19 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:159460</guid><dc:creator>AdmiralGanja</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/159460.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=159460</wfw:commentRss><description>&lt;p&gt;That worked out very nice... I don&amp;#39;t know how I could miss that&amp;nbsp;the previous post contained the answer :) Thanks!!!&lt;/p&gt;
&lt;p&gt;/Jesper&lt;/p&gt;</description></item><item><title>Re: Resize canvas children in design-time. (Expression Blend 2)</title><link>http://forums.silverlight.net/forums/thread/158265.aspx</link><pubDate>Fri, 09 Jan 2009 09:01:44 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:158265</guid><dc:creator>Amanda Wang - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/158265.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=158265</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;AdmiralGanja:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; This user control concists of a &amp;quot;canvas&amp;quot; containing a &amp;quot;border&amp;quot; control for layout and a &amp;quot;stackpanel&amp;quot; control for tiling up buttons horisontally.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Based on your description, you have a &amp;quot;stackpanel&amp;quot; control for tiling up buttons horisontally, when you resize&amp;nbsp; the stackpanel/border, the child controls only resize vertically.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;You can try to use Grid control&amp;nbsp; instead of the StackPanel control &lt;/b&gt;, the child controls can resize both&amp;nbsp; vertically and horisontally when you resize their parent contron.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Resize canvas children in design-time. (Expression Blend 2)</title><link>http://forums.silverlight.net/forums/thread/157098.aspx</link><pubDate>Wed, 07 Jan 2009 08:42:34 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:157098</guid><dc:creator>AdmiralGanja</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/157098.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=157098</wfw:commentRss><description>&lt;p&gt;I made a grid and dragged it out on my page just to try this. I dragged a border inside this control and removed all sizing tags (width, heigth, margins = 0.). But it still doesn&amp;#39;t get resized or anything when resizing grid in design time... Hmm.... Any hints?&lt;/p&gt;
&lt;p&gt;/Jesper&lt;/p&gt;</description></item><item><title>Re: Resize canvas children in design-time. (Expression Blend 2)</title><link>http://forums.silverlight.net/forums/thread/156051.aspx</link><pubDate>Mon, 05 Jan 2009 15:12:27 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:156051</guid><dc:creator>prujohn</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/156051.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=156051</wfw:commentRss><description>&lt;p&gt;Try changing your root Canvas control to a Grid control instead.&amp;nbsp; Remove any explicit sizing from your border (no width/height properties set), and it should stretch along as you resize your UserControl.&lt;/p&gt;</description></item><item><title>Resize canvas children in design-time. (Expression Blend 2)</title><link>http://forums.silverlight.net/forums/thread/155871.aspx</link><pubDate>Mon, 05 Jan 2009 08:16:34 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:155871</guid><dc:creator>AdmiralGanja</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/155871.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=35&amp;PostID=155871</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m designing a toolbar with buttons. On the toolbar I have a container user control that holds a group of buttons, similar to office 2007 menues. This user control concists of a &amp;quot;canvas&amp;quot; containing a &amp;quot;border&amp;quot; control for layout and a &amp;quot;stackpanel&amp;quot; control for tiling up buttons horisontally.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://www.wilfing.se/forum/toolbar_image.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;When I resize this container user control in design time to get room for more buttons, the children of the canvas doesnt get resized. I have tryed setting canvas and/or root element of the control to the scale transformation. Maybe I do it wrong... Even when I&amp;#39;m in design view of the user control itself, it doesnt rescale the canvas children together with the canvas itself...&lt;/p&gt;
&lt;p&gt;Please let me know how to do this.. There has got to be a simple way for something so basic right?&lt;br /&gt;Thanks in advance...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>