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)
9286
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)
3639
private bool ColumnRelocationTarget(MouseEventArgs e,
HitTestInfo
hti, out int previousColumnIndex)
5759
HitTestInfo
hti = HitTest(me.X, me.Y);
6062
private void EndColumnRelocation(MouseEventArgs e,
HitTestInfo
hti)
8561
private bool GetOutOfBoundCorrectedHitTestInfo(ref
HitTestInfo
hti, ref int mouseX, ref int mouseY, out int xOffset, out int yOffset)
9284
public
HitTestInfo
HitTest(int x, int y)
9286
HitTestInfo
hti = new();
9344
return
HitTestInfo
.Nowhere;
9418
return
HitTestInfo
.Nowhere;
9485
return
HitTestInfo
.Nowhere;
9633
HitTestInfo
hti = HitTest(ptMouse.X, ptMouse.Y);
10488
private void MoveColumnRelocation(MouseEventArgs e,
HitTestInfo
hti)
11902
HitTestInfo
hti = HitTest(ptGridCoord.X, ptGridCoord.Y);
12063
private void OnCellMouseDown(
HitTestInfo
hti, bool isShiftDown, bool isControlDown)
12685
HitTestInfo
hti = HitTest(ptGridCoord.X, ptGridCoord.Y);
12762
private void OnCellSelectMouseMove(
HitTestInfo
hti)
13674
private void OnColumnHeaderMouseDown(
HitTestInfo
hti, bool isShiftDown, bool isControlDown)
14124
private void OnColumnSelectMouseMove(
HitTestInfo
hti)
14946
HitTestInfo
hti = HitTest(me.X, me.Y);
15871
HitTestInfo
hti = HitTest(e.X, e.Y);
15960
HitTestInfo
hti = HitTest(e.X, e.Y);
16112
HitTestInfo
hti = HitTest(e.X, e.Y);
16188
HitTestInfo
hti = HitTest(e.X, e.Y);
16347
HitTestInfo
hti = HitTest(e.X, e.Y);
17926
private void OnRowHeaderMouseDown(
HitTestInfo
hti, bool isShiftDown, bool isControlDown)
18400
private void OnRowSelectMouseMove(
HitTestInfo
hti)
29149
private void UpdateMouseEnteredCell(
HitTestInfo
? hti, MouseEventArgs? e)
29158
HitTestInfo
htiToUse = hti ?? HitTest(ptMouse.X, ptMouse.Y);
29868
HitTestInfo
hti = HitTest(ptMouse.X, ptMouse.Y);
29975
HitTestInfo
hti = HitTest(client.X, client.Y);