Occurs when cell receives input focus, becoming the current cell in the DataGridView.
[Visual Basic] Public Event CellEnter As DataGridViewCellEventHandler [C#] public event DataGridViewCellEventHandler CellEnter; [C++] public: __event DataGridViewCellEventHandler* CellEnter;
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