In my WinForms I have DataGridView
. I wanted to select full row at once so I set SelectionMode
as FullRowSelect
. And now I have problem, b
Unfortunately none of these answers helped me, but I found other solution. Instead of unable selection I will just hide it with this piece of code:
dataGridView1.DefaultCellStyle.SelectionBackColor = dataGridView1.DefaultCellStyle.BackColor;
dataGridView1.DefaultCellStyle.SelectionForeColor = dataGridView1.DefaultCellStyle.ForeColor;
So if anyone just wants to hide the selection it's gonna work pretty well.
Cheers :)