DataGridViewTextBoxCell::OnEnter Method (Int32, Boolean)
.NET Framework (current version)
Called by DataGridView when the selection cursor moves onto a cell.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- rowIndex
-
Type:
System::Int32
The index of the row entered by the mouse.
- throughMouseClick
-
Type:
System::Boolean
true if the cell was entered as a result of a mouse click; otherwise, false.
This method is similar to the Control::OnEnter method. It is called in the same circumstances in which an Control::Enter event is raised, but it does not actually raise the event.
Notes to Inheritors:
When overriding OnEnter in a derived class, be sure to call the base class's OnEnter method so that registered delegates receive the event.
.NET Framework
Available since 2.0
Available since 2.0
Show: