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)
5759HitTestInfo hti = HitTest(me.X, me.Y); 8596hti = HitTest(RightToLeftInternal ? rectScrollingArea.Right - 1 : rectScrollingArea.Left, mouseY); 8625hti = HitTest(RightToLeftInternal ? rectScrollingArea.Right : rectScrollingArea.Left, mouseY); 8647hti = HitTest(RightToLeftInternal ? rectScrollingArea.Right : rectScrollingArea.Left, mouseY); 8688hti = HitTest(mouseX, rectScrollingArea.Top); 8708hti = HitTest(mouseX, rectScrollingArea.Top); 8743hti = HitTest(mouseX, rectScrollingArea.Top); 8970hti = HitTest(mouseX, mouseY); 9633HitTestInfo hti = HitTest(ptMouse.X, ptMouse.Y); 9645hti = HitTest(ptMouse.X + (RightToLeftInternal ? 1 : -1) * (xOffset + normOffset), mouseY); 9654? HitTest( 9657: HitTest(ptMouse.X + (RightToLeftInternal ? 1 : -1) * (xOffset + normOffset), mouseY); 11902HitTestInfo hti = HitTest(ptGridCoord.X, ptGridCoord.Y); 12685HitTestInfo hti = HitTest(ptGridCoord.X, ptGridCoord.Y); 14946HitTestInfo hti = HitTest(me.X, me.Y); 15871HitTestInfo hti = HitTest(e.X, e.Y); 15960HitTestInfo hti = HitTest(e.X, e.Y); 16112HitTestInfo hti = HitTest(e.X, e.Y); 16188HitTestInfo hti = HitTest(e.X, e.Y); 16347HitTestInfo hti = HitTest(e.X, e.Y); 16428hti = HitTest(e.X, e.Y); 29158HitTestInfo htiToUse = hti ?? HitTest(ptMouse.X, ptMouse.Y); 29868HitTestInfo hti = HitTest(ptMouse.X, ptMouse.Y); 29882hti = HitTest(mouseX, ptMouse.Y - yOffset - normOffset); 29891? HitTest(ptMouse.X - xOffset - (xOffset / Math.Abs(xOffset)), ptMouse.Y - yOffset - normOffset) 29892: HitTest(mouseX, ptMouse.Y - yOffset - normOffset); 29975HitTestInfo hti = HitTest(client.X, client.Y);