title: Finding a childs row and column in UniformGrid based on Index in WPF
body: <p>In WPF, I have a Uniform Grid and would like to be able to find the row and column based on the index of a child element. </p>
  
  <p>I know there is a mathematical way of doing this and would rather not use a normal Grid. </p>
  
  <p>If it helps, I can get the total number of rows and columns by using:</p>
  
  <pre><code>Math.Sqrt([*uniformgrid*].Children.Count)
  </code></pre>