title: How can I set as "auto" a control size by C#?
body: <p>**I want to set as "" the size (width and heigth) of an element such as a TextBox" by C# but I can't.</p>
  
  <p>I've to try anything as the following but it doesn't work:</p>
  
  <pre><code>TextBox1.Width = double.NaN;
  </code></pre>
  
  <p>I want to know hoy can I do that?</p>