title: Datagridview's row autoresize
body: <p>I'm trying to automatically adjust a row's height and I've found it very challenging.</p>
  
  <p>I've already set this property :</p>
  
  <pre><code>DataGridView.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells.
  </code></pre>
  
  <p>I've also made it using this other method:</p>
  
  <pre><code>DataGridView.AutoResizeRows(DataGridViewAutoSizeRowsMode.AllCellsExceptHeaders)
  </code></pre>
  
  <p>And also row by row, by using this:</p>
  
  <pre><code>DataGridView.AutoResizeRow(i, DataGridViewAutoSizeRowMode.AllCells)
  </code></pre>
  
  <p>And also even hardcoded the row's height to a large value, and it didn't work either!! All the rows are shown with their defaults heights.</p>
  
  <p>None of these worked. I'm running out of options.</p>
  
  <p>Most of the rows in the datagridview don't need to be resized. But one of them is filled with values like these:</p>
  
  <p>"a" + "\n" + b + "\n" + "c" + "\n" + "d" + "\n" + "e"</p>
  
  <p>I mean, short values but in different lines. I have to show them in different lines, can't show them all together.
  But the datagridview shows only the first one and all the other ones are hidden, because the row doesn't autoresize.</p>
  
  <p>Any idea about any other way to do it.</p>