5 implementations of GetNativeScreenRectangle
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
12686Rectangle IKeyboardToolTip.GetNativeScreenRectangle() => GetToolNativeScreenRectangle();
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
291Rectangle IKeyboardToolTip.GetNativeScreenRectangle() => AccessibilityObject.Bounds;
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (1)
20Rectangle IKeyboardToolTip.GetNativeScreenRectangle() => GetNativeRectangle(Index);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
3551Rectangle IKeyboardToolTip.GetNativeScreenRectangle() => AccessibilityObject.Bounds;
System\Windows\Forms\Controls\TreeView\TreeNode.IKeyboardToolTip.cs (1)
18Rectangle IKeyboardToolTip.GetNativeScreenRectangle() => RectangleToScreen(Bounds);
7 references to GetNativeScreenRectangle
System.Windows.Forms (7)
System\Windows\Forms\Control.cs (1)
12738neighboringControlsRectangles.Add(((IKeyboardToolTip)control).GetNativeScreenRectangle());
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (4)
3569neighbors.Add(((IKeyboardToolTip)items[previousIndex]).GetNativeScreenRectangle()); 3575neighbors.Add(((IKeyboardToolTip)items[nextIndex]).GetNativeScreenRectangle()); 3589neighbors.Add(((IKeyboardToolTip)dropDown.OwnerItem).GetNativeScreenRectangle()); 3596=> ((IKeyboardToolTip)this).GetNativeScreenRectangle().Contains(Control.MousePosition);
System\Windows\Forms\ToolTip\ToolTip.cs (2)
1479Rectangle toolRectangle = tool.GetNativeScreenRectangle(); 1595Rectangle topContainerBounds = ((IKeyboardToolTip?)TopLevelControl)?.GetNativeScreenRectangle() ?? Rectangle.Empty;