Changing row height in a data grid without changing font size

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do you change the row height in a data grid - I do not want to increase
the height by changing my font size. My product is a touch screen so I have
to make the row height large enought for a finger press.
 
You can change the row height programatically like this:

foreach (DataGridViewRow row in dataGridView1.Rows)
{
row.Height = 80; // or whatever size you want it to be
}
 
Back
Top