Reputation: 768
How do I detect unselect event of a datagridview( ie focus lost)?
I did search for a bit and couldn't find on web.
Thanks guys.
Upvotes: 1
Views: 2382
Reputation: 6583
You can Use
Leave
Event which Occurs when the input focus leaves the DataGridView
CellLeave
Event which Occurs when a cell loses input focus and is no longer the current cell
RowLeave
Event which Occurs when a row loses input focus and is no longer the current row
Upvotes: 2