title: How do I specify the columns and rows of a multiline Editor-For in ASP.MVC?
body: <p>In ASP.MVC 3, how do I specify the columns and rows for a multiline <code>EditorFor</code> (textarea)? I am using <code>[UIHint("MultilineText")]</code>, but can't find any documentation on how to add attributes for the text area.</p>
  
  <p>Desired HTML:</p>
  
  <pre><code> &lt;textarea cols="40" rows="10"&gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>Relevant Part of my MVC 3 Model:</p>
  
  <pre><code>[UIHint("MultilineText")]
  public string Description { get; set; }
  </code></pre>
  
  <p>Relevant Part of my Razor cshtml:</p>
  
  <pre><code>&lt;div class="editor-field"&gt;
      @Html.EditorFor(model =&gt; model.Description)
  &lt;/div&gt;
  </code></pre>
  
  <p>What I'm getting in View Source:</p>
  
  <pre><code> &lt;div class="editor-field"&gt;
       &lt;textarea class="text-box multi-line" id="Description" name="Description"&gt;&lt;/textarea&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>How do I set rows and columns?</p>