title: How to Set DataGridView Image Cell Style to Stretch?
body: <p>I want to stretch the images displayed in a DataGridView column:</p>
  <p><a href="https://i.stack.imgur.com/p0E4T.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p0E4T.png" alt="Photo" /></a></p>
  <p>Trying to cast the last column as <code>DataGridViewImageColumn</code> with</p>
  <pre><code>((DataGridViewImageColumn)dataGridView1.Columns.GetLastColumn()).AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
  </code></pre>
  <p>Misses some <code>DataGridViewStatesElements</code> arguments!</p>
  <p>Is there a better way to do this?</p>