title: Resizing WPF Grid Column when other Columns children is collapsed?
body: <p>I have two controls in a <code>Grid</code>,and need to make one to fill all the <code>Grid</code> space after the another one get <code>Collapseded</code>,i don't know what <code>Container</code> can i use,i tried <code>StackPanel</code> and <code>DockPanel</code> too,but  i couldn't find a good solution.here's my code:</p>
  
  <pre><code>&lt;Grid&gt;
   &lt;Grid.ColumnDefinitions&gt;
      &lt;ColumnDefinition Width="auto"/&gt;
       &lt;ColumnDefinition Width="auto"/&gt;
   &lt;/Grid.ColumnDefinitions&gt;
   &lt;TextBox Grid.Column="0" Visibility="{Binding Istxt1Visible}"/&gt;
   &lt;TextBox Grid.Column="1" Visibility="{Binding Istxt2Visible}"/&gt;
  &lt;/Grid&gt;
  </code></pre>