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)
9283HitTestInfo 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)
3636private bool ColumnRelocationTarget(MouseEventArgs e, HitTestInfo hti, out int previousColumnIndex) 5756HitTestInfo hti = HitTest(me.X, me.Y); 6059private void EndColumnRelocation(MouseEventArgs e, HitTestInfo hti) 8558private bool GetOutOfBoundCorrectedHitTestInfo(ref HitTestInfo hti, ref int mouseX, ref int mouseY, out int xOffset, out int yOffset) 9281public HitTestInfo HitTest(int x, int y) 9283HitTestInfo hti = new(); 9341return HitTestInfo.Nowhere; 9415return HitTestInfo.Nowhere; 9482return HitTestInfo.Nowhere; 9630HitTestInfo hti = HitTest(ptMouse.X, ptMouse.Y); 10485private void MoveColumnRelocation(MouseEventArgs e, HitTestInfo hti) 11899HitTestInfo hti = HitTest(ptGridCoord.X, ptGridCoord.Y); 12060private void OnCellMouseDown(HitTestInfo hti, bool isShiftDown, bool isControlDown) 12682HitTestInfo hti = HitTest(ptGridCoord.X, ptGridCoord.Y); 12759private void OnCellSelectMouseMove(HitTestInfo hti) 13671private void OnColumnHeaderMouseDown(HitTestInfo hti, bool isShiftDown, bool isControlDown) 14121private void OnColumnSelectMouseMove(HitTestInfo hti) 14943HitTestInfo hti = HitTest(me.X, me.Y); 15868HitTestInfo hti = HitTest(e.X, e.Y); 15957HitTestInfo hti = HitTest(e.X, e.Y); 16109HitTestInfo hti = HitTest(e.X, e.Y); 16185HitTestInfo hti = HitTest(e.X, e.Y); 16344HitTestInfo hti = HitTest(e.X, e.Y); 17923private void OnRowHeaderMouseDown(HitTestInfo hti, bool isShiftDown, bool isControlDown) 18397private void OnRowSelectMouseMove(HitTestInfo hti) 29146private void UpdateMouseEnteredCell(HitTestInfo? hti, MouseEventArgs? e) 29155HitTestInfo htiToUse = hti ?? HitTest(ptMouse.X, ptMouse.Y); 29865HitTestInfo hti = HitTest(ptMouse.X, ptMouse.Y); 29972HitTestInfo hti = HitTest(client.X, client.Y);