DataGridView column header color

Satyapriyanayak
Posted by Satyapriyanayak under C# category on | Points: 40 | Views : 1351
dataGridView1.Columns[0].HeaderCell.Style.ForeColor = Color.Red;
dataGridView1.Columns[1].HeaderCell.Style.ForeColor = Color.Red;
dataGridView1.EnableHeadersVisualStyles = false;

Comments or Responses

Login to post response