Just put the following code into the mouse up event: System.Drawing.Point pt = new Point (eX, eY); DataGrid.HitTestInfo hti = this.dgResult.HitTest (pt); if (hti.Type == DataGrid.HitTestType .Cell) {this.dgresult.currentcell = new dataGridcell (hti.row, hti.column); this.dgresult.select (hti.row);}