28 references to HitTest
System.Windows.Forms (28)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
162HitTestInfo hti = owner.HitTest(pt.X, pt.Y);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (27)
5927HitTestInfo hti = HitTest(me.X, me.Y); 8858hti = HitTest(RightToLeftInternal ? rectScrollingArea.Right - 1 : rectScrollingArea.Left, mouseY); 8887hti = HitTest(RightToLeftInternal ? rectScrollingArea.Right : rectScrollingArea.Left, mouseY); 8916hti = HitTest(RightToLeftInternal ? rectScrollingArea.Right : rectScrollingArea.Left, mouseY); 8964hti = HitTest(mouseX, rectScrollingArea.Top); 8992hti = HitTest(mouseX, rectScrollingArea.Top); 9027hti = HitTest(mouseX, rectScrollingArea.Top); 9269hti = HitTest(mouseX, mouseY); 10029HitTestInfo hti = HitTest(ptMouse.X, ptMouse.Y); 10041hti = HitTest(ptMouse.X + (RightToLeftInternal ? 1 : -1) * (xOffset + normOffset), mouseY); 10051hti = HitTest(ptMouse.X + (RightToLeftInternal ? 1 : -1) * (xOffset + normOffset), ptMouse.Y - yOffset - (yOffset / Math.Abs(yOffset))); 10055hti = HitTest(ptMouse.X + (RightToLeftInternal ? 1 : -1) * (xOffset + normOffset), mouseY); 12315HitTestInfo hti = HitTest(ptGridCoord.X, ptGridCoord.Y); 13094HitTestInfo hti = HitTest(ptGridCoord.X, ptGridCoord.Y); 15353HitTestInfo hti = HitTest(me.X, me.Y); 16274HitTestInfo hti = HitTest(e.X, e.Y); 16363HitTestInfo hti = HitTest(e.X, e.Y); 16515HitTestInfo hti = HitTest(e.X, e.Y); 16591HitTestInfo hti = HitTest(e.X, e.Y); 16750HitTestInfo hti = HitTest(e.X, e.Y); 16831hti = HitTest(e.X, e.Y); 29644htiToUse = HitTest(ptMouse.X, ptMouse.Y); 30355HitTestInfo hti = HitTest(ptMouse.X, ptMouse.Y); 30372hti = HitTest(mouseX, ptMouse.Y - yOffset - normOffset); 30382hti = HitTest(ptMouse.X - xOffset - (xOffset / Math.Abs(xOffset)), ptMouse.Y - yOffset - normOffset); 30386hti = HitTest(mouseX, ptMouse.Y - yOffset - normOffset); 30470HitTestInfo hti = HitTest(client.X, client.Y);