title: Setting Width of Textbox according to maxlenth
body: <p>I am using winforms application and i want to set that width of textbox which will show characters till max length,in short something like <strong>width = maxlength</strong>.Any predefined property is there? or we have to calculate it manually?</p>
  
  <p>//I am looking for this type of logic</p>
  
  <pre><code>  private void Form1_Load(object sender, EventArgs e)
      {
          //sample project
          textBox2.Width = textBox2.MaxLength;
          textBox3.Width = textBox3.MaxLength;
          textBox4.Width = textBox4.MaxLength;
      }
  </code></pre>