<?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>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Re: How to set 100% width / height?</title><link>http://forums.silverlight.net/forums/thread/60756.aspx</link><pubDate>Fri, 13 Jun 2008 02:57:57 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:60756</guid><dc:creator>Allen Chen – MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/60756.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=60756</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; It&amp;#39;s specific to&amp;nbsp;Grid control.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;</description></item><item><title>Re: Re: How to set 100% width / height?</title><link>http://forums.silverlight.net/forums/thread/59861.aspx</link><pubDate>Wed, 11 Jun 2008 11:10:34 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:59861</guid><dc:creator>Skute</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/59861.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=59861</wfw:commentRss><description>&lt;p&gt;So a UIElement will automatically fill the entire space of a Grid control? Is that specific to grid controls, or will that happen with all controls?&lt;/p&gt;&lt;p&gt;Thanks,&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to set 100% width / height?</title><link>http://forums.silverlight.net/forums/thread/59852.aspx</link><pubDate>Wed, 11 Jun 2008 10:47:49 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:59852</guid><dc:creator>SteveWong</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/59852.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=59852</wfw:commentRss><description>&lt;p&gt;If you add that into the Grid which is as the size of the Page&lt;/p&gt;
&lt;p&gt;UIElement will be automatic set the be 100%&lt;/p&gt;</description></item><item><title>How to set 100% width / height?</title><link>http://forums.silverlight.net/forums/thread/59844.aspx</link><pubDate>Wed, 11 Jun 2008 10:22:52 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:59844</guid><dc:creator>Skute</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/59844.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=59844</wfw:commentRss><description>&lt;p&gt;Hi, in Flex you can set the width / height of a component to be 100%, e.g.&lt;/p&gt;&lt;p&gt;&amp;lt;TextBox width=&amp;quot;100%&amp;quot; height=&amp;quot;100%&amp;quot;&amp;gt;&lt;/p&gt;&lt;p&gt;How can I do this in Silverlight?&lt;/p&gt;&lt;p&gt;Also, Flex has a spacer component that you can add into auto arranging components. E.g. I would like a stack panel like the following:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;StackPanel&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;Label width=&amp;quot;Auto&amp;quot;/&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;Button width=&amp;quot;73&amp;quot;/&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;Spacer width=&amp;quot;100%&amp;quot;/&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;Button width=&amp;quot;73&amp;quot;/&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/StackPanel&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The result of this is a label on the left, with a button next to it, and then the remaining button on the right hand side.&lt;/p&gt;&lt;p&gt;Any help appreciated,&lt;/p&gt;&lt;p&gt;Thanks&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>