5 implementations of IsHoveredWithMouse
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
12814bool IKeyboardToolTip.IsHoveredWithMouse() => IsHoveredWithMouse();
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
333bool IKeyboardToolTip.IsHoveredWithMouse() => false;
System\Windows\Forms\Controls\ListView\ListViewItem.IKeyboardToolTip.cs (1)
70bool IKeyboardToolTip.IsHoveredWithMouse() => _listView?.AccessibilityObject.Bounds.Contains(Control.MousePosition) ?? false;
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
3591bool IKeyboardToolTip.IsHoveredWithMouse()
System\Windows\Forms\Controls\TreeView\TreeNode.IKeyboardToolTip.cs (1)
45bool IKeyboardToolTip.IsHoveredWithMouse() => TreeView?.AccessibilityObject.Bounds.Contains(Control.MousePosition) ?? false;
6 references to IsHoveredWithMouse
System.Windows.Forms (1)
System\Windows\Forms\ToolTip\KeyboardToolTipStateMachine.cs (1)
206if (!_currentTool.IsHoveredWithMouse())
System.Windows.Forms.Tests (2)
System\Windows\Forms\ListViewItem.IKeyboardToolTipTests.cs (1)
720Assert.Equal(expected, ((IKeyboardToolTip)listViewItem).IsHoveredWithMouse());
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (1)
391Assert.Equal(expected, ((IKeyboardToolTip)treeNode).IsHoveredWithMouse());
System.Windows.Forms.UI.IntegrationTests (3)
TabControlTests.cs (3)
70bool result = ((IKeyboardToolTip)tabControl).IsHoveredWithMouse(); 71bool resultOfPage1 = ((IKeyboardToolTip)tabControl.TabPages[0]).IsHoveredWithMouse(); 72bool resultOfPage2 = ((IKeyboardToolTip)tabControl.TabPages[1]).IsHoveredWithMouse();