I have a DataGridView where the background of each row is different depending on the data bound item. Though, when I select a row, I can no longer see its original background color.
To solve this, I have thought of two solutions:
I can make the selections semi-transparent, making it possible to see if two selected rows have different background colors.
Or; I can remove the selection colors entirely, and draw a border around the selected rows.
What option is easier and how can I do this?
It's a WinForm app.
Edit: I ended up with the code in my original post: http://stackoverflow.com/questions/4448945/datagridview-row-semi-transparent-selection-or-row-border-on-selection