title: WPF Grids - how to maintain column width when window is resized?
body: <p>I have this XAML markup...</p>
  
  <pre><code>&lt;Grid Name="ProductsGrid" Width="500"&gt;
          &lt;Grid.RowDefinitions&gt;
              &lt;RowDefinition Height="*"/&gt;
          &lt;/Grid.RowDefinitions&gt;
          &lt;Grid.ColumnDefinitions&gt;
              &lt;ColumnDefinition Name="ProductList" Width="*" /&gt;
              &lt;ColumnDefinition Name="ProductInfo" Width="100" MinWidth="10" MaxWidth="100"/&gt;
          &lt;/Grid.ColumnDefinitions&gt;
  </code></pre>
  
  <p>When the app starts the 2nd column is se to 100 "units" wide. </p>
  
  <p>When the window is resized the column grows and shrinks - it maintains its ratio with column 1 which I think is what i supposed to happen in WPF. So when the app starts the window size is set to 500 and the 2nd column is 1/5 of the total width. As the app resizes it maintains 1/5 of the total width However in this example I want it to stay at 100 units.</p>
  
  <p>Any ideas?</p>