28 references to HitTest
System.Windows.Forms (28)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
161HitTestInfo hti = owner.HitTest(pt.X, pt.Y);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (27)
5756HitTestInfo hti = HitTest(me.X, me.Y); 8593hti = HitTest(RightToLeftInternal ? rectScrollingArea.Right - 1 : rectScrollingArea.Left, mouseY); 8622hti = HitTest(RightToLeftInternal ? rectScrollingArea.Right : rectScrollingArea.Left, mouseY); 8644hti = HitTest(RightToLeftInternal ? rectScrollingArea.Right : rectScrollingArea.Left, mouseY); 8685hti = HitTest(mouseX, rectScrollingArea.Top); 8705hti = HitTest(mouseX, rectScrollingArea.Top); 8740hti = HitTest(mouseX, rectScrollingArea.Top); 8967hti = HitTest(mouseX, mouseY); 9630HitTestInfo hti = HitTest(ptMouse.X, ptMouse.Y); 9642hti = HitTest(ptMouse.X + (RightToLeftInternal ? 1 : -1) * (xOffset + normOffset), mouseY); 9651? HitTest( 9654: HitTest(ptMouse.X + (RightToLeftInternal ? 1 : -1) * (xOffset + normOffset), mouseY); 11899HitTestInfo hti = HitTest(ptGridCoord.X, ptGridCoord.Y); 12682HitTestInfo hti = HitTest(ptGridCoord.X, ptGridCoord.Y); 14943HitTestInfo hti = HitTest(me.X, me.Y); 15868HitTestInfo hti = HitTest(e.X, e.Y); 15957HitTestInfo hti = HitTest(e.X, e.Y); 16109HitTestInfo hti = HitTest(e.X, e.Y); 16185HitTestInfo hti = HitTest(e.X, e.Y); 16344HitTestInfo hti = HitTest(e.X, e.Y); 16425hti = HitTest(e.X, e.Y); 29155HitTestInfo htiToUse = hti ?? HitTest(ptMouse.X, ptMouse.Y); 29865HitTestInfo hti = HitTest(ptMouse.X, ptMouse.Y); 29879hti = HitTest(mouseX, ptMouse.Y - yOffset - normOffset); 29888? HitTest(ptMouse.X - xOffset - (xOffset / Math.Abs(xOffset)), ptMouse.Y - yOffset - normOffset) 29889: HitTest(mouseX, ptMouse.Y - yOffset - normOffset); 29972HitTestInfo hti = HitTest(client.X, client.Y);