title: WPF grid across user controls?
body: <p>In ASP.NET I could make a user control to occupy more than one cell in a table on the page:</p>
  
  <p>UserControl1:</p>
  
  <pre><code>&lt;tr&gt;
    &lt;td&gt;foo&lt;/td&gt;
    &lt;td&gt;bar&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>Page1:</p>
  
  <pre><code>&lt;table&gt;
    &lt;put a UserControl1 here/&gt;
    &lt;put another UserControl1 here/&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>and the column widths adjusted automatically to fit the largest user control.</p>
  
  <p>Can this be done in WPF too ? How ?</p>
  
  <p>I think that user controls can't do that, and I must create a simple class instead of a user control, which has a method to add everything to the grid. But that way everything should be done by code, xaml is useless here.</p>