Is this what you needed?
'VB
Private Sub gridControl1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Sub gridControl1.MouseDown
If e.Button = MouseButtons.Right Then
dim rowIndex, colIndex as Integer
Me.gridControl1.PointToRowCol(New Point(e.X, e.Y), rowIndex, colIndex)
Console.WriteLine(rowIndex.ToString() + " " + colIndex.ToString())
End If
End Sub
//C#
private void gridControl1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
if(e.Button == MouseButtons.Right)
{
int row, col;
if(this.gridControl1.PointToRowCol(new Point(e.X, e.Y), out row, out col, -1))
{
Console.WriteLine(row.ToString() + " " + col.ToString())
}
}
}