title: How do I create a binding that involves some sort of formula?
body: <p>As an example, if I have an element whose size I want to be twice the size of another element, how would I achieve this?</p>
  
  <p>An example would be the following, <code>mirroredObject</code> is the object that I want to use half of it's width for the width of the <code>Border</code> object.</p>
  
  <pre><code>&lt;Border Width="{Binding ActualWidth, ElementName=mirroredObject, Mode=Default}" /&gt;
  </code></pre>
  
  <p>I have other situations where the property I might like to bind to might be the sum of the widths of other elements, how would I achieve this also?</p>
  
  <p><strong>SOLUTION</strong></p>
  
  <p>Please refer to my answer for the solution which was aided by lenanovd's answer.</p>