If a DataGrid supports user editing, then this method will be called for the cell with focus.
[Visual Basic] Overrides Public Sub Edit( _ ByVal source As ListManager, _ ByVal rowNum As Integer, _ ByVal bounds As Rectangle, _ ByVal readOnly As Boolean, _ ByVal instantText As String, _ ByVal cellIsVisible As Boolean _ ) [C#] public override void Edit( ListManager source, int rowNum, Rectangle bounds, bool readOnly, string instantText, bool cellIsVisible ); [C++] public: override void Edit( ListManager* source, int rowNum, Rectangle bounds, bool readOnly, String* instantText, bool cellIsVisible ); [JScript] public override function Edit( source : ListManager, rowNum : int, bounds : Rectangle, readOnly : Boolean, instantText : String, cellIsVisible : Boolean );
Typically this method will site a control onto the grid at the location of the cell being edited.
DataGridValueColumn Class | DataGridValueColumn Members | System.WinForms Namespace