GetCellAtPoint(Int32,Int32) Method
In This Topic
Gets the cell at a given point on the control's client area.
Syntax
'Declaration
Public Overloads Function GetCellAtPoint( _
ByVal As System.Integer, _
ByVal As System.Integer _
) As System.Drawing.Point
public System.Drawing.Point GetCellAtPoint(
System.int ,
System.int
)
Parameters
- x
- X coordinate of the point.
- y
- Y coordinate of the point.
Return Value
A System.Drawing.Point where the X and Y properties correspond to the column row indices of the cell at the given point.
See Also