Question : c# datagridview center cell text
Answered by : turner-kindred
this.dataGridView1.Columns["CustomerName"].DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight;
Source : https://stackoverflow.com/questions/5230316/how-can-i-right-align-text-in-a-datagridview-column | Last Update : Mon, 13 Jun 22