<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Tech Off - WPF : anchor doesn&#39;t work?</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Tech Off - WPF : anchor doesn&#39;t work?</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Wed, 22 May 2013 09:03:50 GMT</pubDate>
	<lastBuildDate>Wed, 22 May 2013 09:03:50 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>6</c9:totalResults>
	<c9:pageCount>-6</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Tech Off - WPF : anchor doesn&#39;t work?</title>
		<description><![CDATA[<p>I set statusbar HAlign to <strong>stretch </strong>and VAlign to <strong>bottom
</strong>but...<br /><br /><a href="http://img293.imageshack.us/img293/6213/78110984xm4.jpg" rel="lightbox"><img src="http://img293.imageshack.us/img293/6213/78110984xm4.jpg"></a><br /><br /><a href="http://img293.imageshack.us/img293/2189/56811392qw3.jpg" rel="lightbox"><img src="http://img293.imageshack.us/img293/2189/56811392qw3.jpg"></a></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/416378-WPF--anchor-doesnt-work/416378#416378</link>
		<pubDate>Sat, 19 Jul 2008 22:05:26 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/416378-WPF--anchor-doesnt-work/416378#416378</guid>
		<dc:creator>Turrican</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/turrican/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - WPF : anchor doesn&#39;t work?</title>
		<description><![CDATA[<p>Try Width=&quot;Auto&quot;<br /><br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/416378-WPF--anchor-doesnt-work/ec90eaada1a84984a0069dfa0094520d#ec90eaada1a84984a0069dfa0094520d</link>
		<pubDate>Sat, 19 Jul 2008 22:18:09 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/416378-WPF--anchor-doesnt-work/ec90eaada1a84984a0069dfa0094520d#ec90eaada1a84984a0069dfa0094520d</guid>
		<dc:creator>John</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/jh71283/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - WPF : anchor doesn&#39;t work?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">jh71283 said:</div><div class="quoteText">Try Width=&quot;Auto&quot;<br /><br /></div></blockquote>Thanks, it worked. But omfg, WPF sucks big time so far. Totally unnatural/unlogical compared to what &quot;we are used to&quot; from winforms.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/416378-WPF--anchor-doesnt-work/eeb4195ab2ea43a38c4d9dfa0094525c#eeb4195ab2ea43a38c4d9dfa0094525c</link>
		<pubDate>Sat, 19 Jul 2008 22:23:06 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/416378-WPF--anchor-doesnt-work/eeb4195ab2ea43a38c4d9dfa0094525c#eeb4195ab2ea43a38c4d9dfa0094525c</guid>
		<dc:creator>Turrican</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/turrican/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - WPF : anchor doesn&#39;t work?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">turrican said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">jh71283 said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
Thanks, it worked. But omfg, WPF sucks big time so far. Totally unnatural/unlogical compared to what &quot;we are used to&quot; from winforms.</div></blockquote>FWIW, if you don't specify a width at all (and no other positioning/sizing properties besides the height and vertical
 alignment at the bottom), WPF will make the status bar automatically resize like you'd expect it to.&nbsp; This is the XAML generated by Blend for a window only containing a status bar, and it resizes as expected:<br /><br />&lt;Window<br />&nbsp;&nbsp;&nbsp; xmlns=&quot;<a href="http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;">http&#58;&#47;&#47;schemas.microsoft.com&#47;winfx&#47;2006&#47;xaml&#47;presentation&#34;</a><br />&nbsp;&nbsp;&nbsp; xmlns:x=&quot;<a href="http://schemas.microsoft.com/winfx/2006/xaml&quot;">http&#58;&#47;&#47;schemas.microsoft.com&#47;winfx&#47;2006&#47;xaml&#34;</a><br />&nbsp;&nbsp;&nbsp; x:Class=&quot;TestStatusbar.Window1&quot;<br />&nbsp;&nbsp;&nbsp; x:Name=&quot;Window&quot;<br />&nbsp;&nbsp;&nbsp; Title=&quot;Window1&quot;<br />&nbsp;&nbsp;&nbsp; Width=&quot;640&quot; Height=&quot;480&quot;&gt;<br /><br />&nbsp;&nbsp;&nbsp; &lt;Grid x:Name=&quot;LayoutRoot&quot;&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;StatusBar VerticalAlignment=&quot;Bottom&quot; Height=&quot;26&quot; Background=&quot;#FF5F7CAD&quot;/&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/Grid&gt;<br />&lt;/Window&gt;<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/416378-WPF--anchor-doesnt-work/4e4a8bfdf449417884fd9dfa009452ba#4e4a8bfdf449417884fd9dfa009452ba</link>
		<pubDate>Sat, 19 Jul 2008 22:26:29 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/416378-WPF--anchor-doesnt-work/4e4a8bfdf449417884fd9dfa009452ba#4e4a8bfdf449417884fd9dfa009452ba</guid>
		<dc:creator>JonathonW</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/CannotResolveSymbol/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - WPF : anchor doesn&#39;t work?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">CannotResolveSymbol said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">turrican said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
FWIW, if you don't specify a width at all (and no other positioning/sizing properties besides the height and vertical alignment at the bottom), WPF will make the status bar automatically resize like you'd expect it to.&nbsp; This is the XAML generated by Blend for
 a window only containing a status bar, and it resizes as expected:<br /><br />&lt;Window<br />&nbsp;&nbsp;&nbsp; xmlns=&quot;<a href="http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;">http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;</a><br />&nbsp;&nbsp;&nbsp; xmlns:x=&quot;<a href="http://schemas.microsoft.com/winfx/2006/xaml&quot;">http://schemas.microsoft.com/winfx/2006/xaml&quot;</a><br />&nbsp;&nbsp;&nbsp; x:Class=&quot;TestStatusbar.Window1&quot;<br />&nbsp;&nbsp;&nbsp; x:Name=&quot;Window&quot;<br />&nbsp;&nbsp;&nbsp; Title=&quot;Window1&quot;<br />&nbsp;&nbsp;&nbsp; Width=&quot;640&quot; Height=&quot;480&quot;&gt;<br /><br />&nbsp;&nbsp;&nbsp; &lt;Grid x:Name=&quot;LayoutRoot&quot;&gt;<br />&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;StatusBar VerticalAlignment=&quot;Bottom&quot; Height=&quot;26&quot; Background=&quot;#FF5F7CAD&quot;/&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/Grid&gt;<br />&lt;/Window&gt;<br /></div></blockquote>CannotResolveSymbol,<br /><br />wouldn't it make sense to use a DockPanel instead of a Grid<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/416378-WPF--anchor-doesnt-work/f8152e780c4b4669a8b29dfa0094531c#f8152e780c4b4669a8b29dfa0094531c</link>
		<pubDate>Sun, 20 Jul 2008 03:33:23 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/416378-WPF--anchor-doesnt-work/f8152e780c4b4669a8b29dfa0094531c#f8152e780c4b4669a8b29dfa0094531c</guid>
		<dc:creator>brian.shapiro</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/brian.shapiro/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - WPF : anchor doesn&#39;t work?</title>
		<description><![CDATA[<p><blockquote><div class="quoteUser">brian.shapiro said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">CannotResolveSymbol said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
CannotResolveSymbol,<br /><br />wouldn't it make sense to use a DockPanel instead of a Grid<br /></div></blockquote>Probably, but I was just seeing what Blend spat out when I tried to make a status bar, so I didn't bother to put it in a DockPanel (Blend projects start out with a Grid in the document).<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/416378-WPF--anchor-doesnt-work/ff6d603e8b1043ceb2429dfa00945372#ff6d603e8b1043ceb2429dfa00945372</link>
		<pubDate>Sun, 20 Jul 2008 03:42:18 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/416378-WPF--anchor-doesnt-work/ff6d603e8b1043ceb2429dfa00945372#ff6d603e8b1043ceb2429dfa00945372</guid>
		<dc:creator>JonathonW</dc:creator>
		<slash:comments>6</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/CannotResolveSymbol/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>