Override the default row error behavior for a DataGridView
- by Pat
I have a DataGridView that is bound to a DataTable. When a row in the table has an error (row.RowError is not empty), the DGV helpfully displays an error icon and tooltip with the error text. Instead of, or in addition to, this behavior, I would like to change the entire row color.
What event does the DGV subscribe to in order to handle errors and/or how can I override the DGV's default behavior?