In GridControl, you can get the Row and Column Index of a cell under the Mouse Point, by using PointToCellRowColumnIndex and PointToCellRowColumnIndexOutsideCells.
This method allows you to get the Row and Column Index of a cell under the mouse point in GridControl, regardless of its position.
Syntax: PointToCellRowColumnIndex (Point p);
This method allows you to get the Row and Column Index of the cell under the mouse point in GridControl. It also allows you to identify whether you have clicked inside the cell or points outside the cell, that is, Points over the Gridlines.
Syntax: PointToCellRowColumnIndexOutsideCells(Point p, bool allowOutsideLines)
You can easily identify whether you have clicked at any point inside the cell or outside the cell by setting allowOutsideLines as “False”. It returns negative values for the points that are outside the cell.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.