Occurs when a cell loses input focus and is no longer the current cell.
[Visual Basic] Public Event CellLeave As DataGridViewCellEventHandler [C#] public event DataGridViewCellEventHandler CellLeave; [C++] public: __event DataGridViewCellEventHandler* CellLeave;
The event handler receives an argument of type DataGridViewCellEventArgs containing data related to this event. The following DataGridViewCellEventArgs property provides information specific to this event.
Property | Description |
---|---|
ColumnIndex | Gets the column index of the cell that raised the event. |
RowIndex | Gets the row index of the cell that raised the event. |
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
DataGridView Class | DataGridView Members | Wimark.Controls Namespace