title: How to set binding for Width for any user control in Silverlight?
body: <p>In xaml, with can be set as </p>
  
  <pre><code>&lt;UserControl Width="100" /&gt;
  </code></pre>
  
  <p>I want to set width in VM and bind it to Width in Xaml, like</p>
  
  <pre><code>&lt;UserControl Width="{Binding mywidth}" /&gt;
  </code></pre>
  
  <p>in VM, define mywidth as integer like</p>
  
  <pre><code>public int mywidth {
    get {
        return 100;
    }
  }
  </code></pre>
  
  <p>but it's not working. What kind of type should be set for width binding?</p>