DataGridView: how to focus the whole row instead of a single cell?
- by Tomas Sedovic
I'd like to use the DataGridView control as a list with columns. Sort of like ListView in Details mode but I want to keep the DataGridView flexibility.
ListView (with Details view and FullRowSelect enabled) highlights the whole line and shows the focus mark around the whole line:
DataGridView (with SelectionMode = FullRowSelect) displays focus…