title: Make UserControl keep square shape
body: <p>I'm working on <strong>Windows Phone 8 C#/XAML project</strong> and I've run into a problem, where I can't think of a solution.</p>
  
  <p><strong>The problem</strong></p>
  
  <p>I'd like my usercontrol to be square at all times (but not fixed size square).</p>
  
  <p><strong>For example</strong></p>
  
  <p>I have a grid, where the width and height of columns is automatically calculated (<em>width="*"</em> and <em>height="*"</em> in all <em>column</em> and <em>row definitions</em>) and I have one of these controls in each of the grid's cells and I'd like them to keep square shape.</p>
  
  <p><strong>Questions</strong></p>
  
  <ul>
  <li><p><strong>How to achieve this? Are there multiple ways?</strong></p></li>
  <li><p><strong>I've read somewhere about rewriting SizeChanged event, but I can't think of a code that will work, if possible can someone hint me with an algorithm and/or code?</strong></p></li>
  </ul>