32 references to GetToolTip
System.Windows.Forms (8)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
5373_toolTipCaption = toolTip.GetToolTip(this);
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1633_controlTipText = toolTip.GetToolTip(this);
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1626_controlToolTipText = toolTip.GetToolTip(this);
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (2)
986string? caption = toolTip.GetToolTip(this); 998string? caption = toolTip.GetToolTip(this);
System\Windows\Forms\ToolTip\ToolTip.cs (3)
845string? caption = GetToolTip(control); 1753SetToolInfo(tool, GetToolTip(tool)); 2348GetToolTip(control),
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\InheritanceUI.cs (1)
88&& !string.IsNullOrEmpty(_toolTip.GetToolTip(c)))
System.Windows.Forms.Design.Tests (10)
System\Windows\Forms\Design\InheritanceUITests.cs (10)
111toolTip.GetToolTip(_control).Should().Be(expectedText); 112toolTip.GetToolTip(_childControl).Should().Be(expectedText); 122toolTip.GetToolTip(_control).Should().Be("Inherited control"); 123toolTip.GetToolTip(_childControl).Should().Be("Inherited control"); 124toolTip.GetToolTip(_sitedChildControl).Should().BeEmpty(); 128toolTip.GetToolTip(_control).Should().BeEmpty(); 129toolTip.GetToolTip(_childControl).Should().BeEmpty(); 130toolTip.GetToolTip(_sitedChildControl).Should().BeEmpty(); 156toolTip.GetToolTip(_control).Should().BeEmpty(); 157toolTip.GetToolTip(_sitedChildControl).Should().BeEmpty();
System.Windows.Forms.Tests (13)
System\Windows\Forms\ToolTipTests.cs (7)
646Assert.Empty(toolTip.GetToolTip(control)); 656Assert.Empty(toolTip.GetToolTip(control)); 659Assert.Empty(toolTip.GetToolTip(control)); 677Assert.Equal(expected, toolTip.GetToolTip(control)); 681Assert.Equal(expected, toolTip.GetToolTip(control)); 698Assert.Equal(expected, toolTip.GetToolTip(control)); 702Assert.Equal(expected, toolTip.GetToolTip(control));
System\Windows\Forms\UpDownBaseTests.cs (6)
3023string actualEditToolTipText = toolTip.GetToolTip(upDownBase._upDownEdit); 3024string actualButtonsToolTipText = toolTip.GetToolTip(upDownBase._upDownButtons); 3032actualEditToolTipText = toolTip.GetToolTip(upDownBase._upDownEdit); 3033actualButtonsToolTipText = toolTip.GetToolTip(upDownBase._upDownButtons); 3039actualEditToolTipText = toolTip.GetToolTip(upDownBase._upDownEdit); 3040actualButtonsToolTipText = toolTip.GetToolTip(upDownBase._upDownButtons);