I have a winforms (c#) datagridview form where I can set the divider between rows with row.DividerHeight = 1
But I would like to change the color of the dividerline, to lets say Color.Red, how would I do that? I dont want to change the background color of the cell.
From the MSDN page for DataGridView.DividerHeight
So it looks like you can't set the colour directly, but setting the foreground colour of the DataGridView will change it.
DataGridView.GridColor Looks like it controls the row divider color as well.