New Product Launch - BoldDesk !
Introducing help desk ticketing software.
New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
private void gridControl1_MouseHover(object sender, System.EventArgs e)
{
Point pt = this.gridControl1.PointToClient(Cursor.Position);
int row, col;
this.gridControl1.ViewLayout.PointToClientRowCol(pt, out row, out col, true);
Rectangle cellRect = this.gridControl1.RangeInfoToRectangle(GridRangeInfo.Cell(row, col));
Console.WriteLine(cellRect.ToString());
}
> private void gridControl1_MouseHover(object sender, System.EventArgs e)
> {
> Point pt = this.gridControl1.PointToClient(Cursor.Position);
>
> int row, col;
> this.gridControl1.ViewLayout.PointToClientRowCol(pt, out row, out col, true);
>
> Rectangle cellRect = this.gridControl1.RangeInfoToRectangle(GridRangeInfo.Cell(row, col));
>
> Console.WriteLine(cellRect.ToString());
> }
>
this.gridControl1.PointToRowCol(pt, out row, out col, -1);