title: WPF: DockPanel.Dock = "Bottom" doesn't work as expected
body: <p>This concerns WPF. </p>
  
  <p>As a simple test, I have a grid with 3 columns, the third column containing a Dock panel. In turn, this Dockpanel contains a TextBlock and a StatusBar, with the StatusBar having the (attached) attribute Dockpanel.Dock = "Bottom".</p>
  
  <p>So I would expect the StatusBar to be at the bottom of the 3rd column, with the TextBlock - the one that says "I am TextBlock 3" - on top of it (within the same column).</p>
  
  <p>To my surprise, however, the StatusBar appears on the RIGHT side of the TextBlock!</p>
  
  <p>This is the relevant xaml-code (there is no code-behind made by me):</p>
  
  <pre><code>&lt;Window x:Class="Testing.TestWindow"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
          xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
          xmlns:local="clr-namespace:Testing"
          mc:Ignorable="d"
          Title="TestWindow" Height="500" Width="1000"&gt;
  
      &lt;Grid&gt;
          &lt;Grid.ColumnDefinitions&gt;
              &lt;ColumnDefinition Width="*" MinWidth="180" MaxWidth="540"  /&gt;
              &lt;ColumnDefinition Width="*" /&gt;
              &lt;ColumnDefinition Width="*" /&gt;
          &lt;/Grid.ColumnDefinitions&gt;
  
          &lt;TextBlock Grid.Column="0"&gt;I am Textblock 1&lt;/TextBlock&gt;
  
          &lt;TextBlock Grid.Column="1"&gt;I am Textblock 2&lt;/TextBlock&gt;
  
          &lt;DockPanel Grid.Column="2"&gt;
              &lt;TextBlock&gt;I am Textblock 3&lt;/TextBlock&gt;
              &lt;StatusBar DockPanel.Dock="Bottom"&gt;I am the statusbar&lt;/StatusBar&gt;
          &lt;/DockPanel&gt;
      &lt;/Grid&gt;
  
  &lt;/Window&gt;
  </code></pre>
  
  <p>Anyone know what I'm doing wrong?
  Thanks. </p>