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