title: Centering Column and Row Text Content in DataGridView
body: <p>I want to center the content of my Columns and Rows on DataGridView.</p>
  <p>Is there a way of doing this by specifying the Column name, like:</p>
  <pre><code>dataGridView1.Columns[&quot;CustomerName&quot;].DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight; 
  </code></pre>
  <p>I want this to be applied to all the Columns of my DataGridView (which is completely coded programmatically).</p>
  <p>How can I do this?</p>