2 instantiations of HitTestInfo
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridView.HitTestInfo.cs (1)
23
public static readonly HitTestInfo Nowhere =
new
();
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
9283
HitTestInfo hti =
new
();
34 references to HitTestInfo
System.Windows.Forms (34)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
161
HitTestInfo
hti = owner.HitTest(pt.X, pt.Y);
System\Windows\Forms\Controls\DataGridView\DataGridView.HitTestInfo.cs (4)
21
/// Allows the <see cref="
HitTestInfo
"/> object to inform you the extent of the grid.
23
public static readonly
HitTestInfo
Nowhere = new();
95
value is
HitTestInfo
hti && _type == hti._type && _row == hti._row && _col == hti._col;
98
/// Gets the hash code for the <see cref="
HitTestInfo
"/> instance.
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (29)
3636
private bool ColumnRelocationTarget(MouseEventArgs e,
HitTestInfo
hti, out int previousColumnIndex)
5756
HitTestInfo
hti = HitTest(me.X, me.Y);
6059
private void EndColumnRelocation(MouseEventArgs e,
HitTestInfo
hti)
8558
private bool GetOutOfBoundCorrectedHitTestInfo(ref
HitTestInfo
hti, ref int mouseX, ref int mouseY, out int xOffset, out int yOffset)
9281
public
HitTestInfo
HitTest(int x, int y)
9283
HitTestInfo
hti = new();
9341
return
HitTestInfo
.Nowhere;
9415
return
HitTestInfo
.Nowhere;
9482
return
HitTestInfo
.Nowhere;
9630
HitTestInfo
hti = HitTest(ptMouse.X, ptMouse.Y);
10485
private void MoveColumnRelocation(MouseEventArgs e,
HitTestInfo
hti)
11899
HitTestInfo
hti = HitTest(ptGridCoord.X, ptGridCoord.Y);
12060
private void OnCellMouseDown(
HitTestInfo
hti, bool isShiftDown, bool isControlDown)
12682
HitTestInfo
hti = HitTest(ptGridCoord.X, ptGridCoord.Y);
12759
private void OnCellSelectMouseMove(
HitTestInfo
hti)
13671
private void OnColumnHeaderMouseDown(
HitTestInfo
hti, bool isShiftDown, bool isControlDown)
14121
private void OnColumnSelectMouseMove(
HitTestInfo
hti)
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);
17923
private void OnRowHeaderMouseDown(
HitTestInfo
hti, bool isShiftDown, bool isControlDown)
18397
private void OnRowSelectMouseMove(
HitTestInfo
hti)
29146
private void UpdateMouseEnteredCell(
HitTestInfo
? hti, MouseEventArgs? e)
29155
HitTestInfo
htiToUse = hti ?? HitTest(ptMouse.X, ptMouse.Y);
29865
HitTestInfo
hti = HitTest(ptMouse.X, ptMouse.Y);
29972
HitTestInfo
hti = HitTest(client.X, client.Y);