rlee923
rlee923

Reputation: 768

datagridview unselect event

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

Answers (1)

Binil
Binil

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

Related Questions