title: how to get the height of a row in a grid WPF
body: <p>I have a Grid and into one of its cells I am adding and removing User Controls programmatically.The code to do that looks something like this   </p>
  
  <pre><code>this.mainRegion.Children.Add(RibbonRegion);// mainRegion is  a Grid and Ribbon Region    is a user control   
  
   Grid.SetRow(RibbonRegion, RegionIndex);  
  </code></pre>
  
  <p>Here is the thing I want to get the height of the Row that is RegionIndex so that I can get the RibbonRegion control to fill up alL the available space otherwise there is just too much white space the user control is occupying a very small part of the Row.
  I basically want to say something like  UserControl.Height=RowHeight<br>
  Can I do that </p>