noam_dz
asked on
How to disable row selection in dataGridView?
I would like the user to click on the cells but without the blue selection appearing.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I needed to set SelectionBackColor = BackColor and SelectionForeColor = ForeColor
Otherwise the selected text was not visible and when I tabbed to another window and back again the cell background wasn't repainted.