2 instantiations of HitTestInfo
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridView.HitTestInfo.cs (1)
23public static readonly HitTestInfo Nowhere = new();
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
9286HitTestInfo hti = new();
34 references to HitTestInfo
System.Windows.Forms (34)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
161HitTestInfo 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. 23public static readonly HitTestInfo Nowhere = new(); 95value 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)
3639private bool ColumnRelocationTarget(MouseEventArgs e, HitTestInfo hti, out int previousColumnIndex) 5759HitTestInfo hti = HitTest(me.X, me.Y); 6062private void EndColumnRelocation(MouseEventArgs e, HitTestInfo hti) 8561private bool GetOutOfBoundCorrectedHitTestInfo(ref HitTestInfo hti, ref int mouseX, ref int mouseY, out int xOffset, out int yOffset) 9284public HitTestInfo HitTest(int x, int y) 9286HitTestInfo hti = new(); 9344return HitTestInfo.Nowhere; 9418return HitTestInfo.Nowhere; 9485return HitTestInfo.Nowhere; 9633HitTestInfo hti = HitTest(ptMouse.X, ptMouse.Y); 10488private void MoveColumnRelocation(MouseEventArgs e, HitTestInfo hti) 11902HitTestInfo hti = HitTest(ptGridCoord.X, ptGridCoord.Y); 12063private void OnCellMouseDown(HitTestInfo hti, bool isShiftDown, bool isControlDown) 12685HitTestInfo hti = HitTest(ptGridCoord.X, ptGridCoord.Y); 12762private void OnCellSelectMouseMove(HitTestInfo hti) 13674private void OnColumnHeaderMouseDown(HitTestInfo hti, bool isShiftDown, bool isControlDown) 14124private void OnColumnSelectMouseMove(HitTestInfo hti) 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); 17926private void OnRowHeaderMouseDown(HitTestInfo hti, bool isShiftDown, bool isControlDown) 18400private void OnRowSelectMouseMove(HitTestInfo hti) 29149private void UpdateMouseEnteredCell(HitTestInfo? hti, MouseEventArgs? e) 29158HitTestInfo htiToUse = hti ?? HitTest(ptMouse.X, ptMouse.Y); 29868HitTestInfo hti = HitTest(ptMouse.X, ptMouse.Y); 29975HitTestInfo hti = HitTest(client.X, client.Y);