32 references to GetToolTip
System.Windows.Forms (8)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
5369
_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)
986
string? caption = toolTip.
GetToolTip
(this);
998
string? caption = toolTip.
GetToolTip
(this);
System\Windows\Forms\ToolTip\ToolTip.cs (3)
845
string? caption =
GetToolTip
(control);
1753
SetToolInfo(tool,
GetToolTip
(tool));
2343
GetToolTip
(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)
113
toolTip.
GetToolTip
(_control).Should().Be(expectedText);
114
toolTip.
GetToolTip
(_childControl).Should().Be(expectedText);
124
toolTip.
GetToolTip
(_control).Should().Be("Inherited control");
125
toolTip.
GetToolTip
(_childControl).Should().Be("Inherited control");
126
toolTip.
GetToolTip
(_sitedChildControl).Should().BeEmpty();
130
toolTip.
GetToolTip
(_control).Should().BeEmpty();
131
toolTip.
GetToolTip
(_childControl).Should().BeEmpty();
132
toolTip.
GetToolTip
(_sitedChildControl).Should().BeEmpty();
158
toolTip.
GetToolTip
(_control).Should().BeEmpty();
159
toolTip.
GetToolTip
(_sitedChildControl).Should().BeEmpty();
System.Windows.Forms.Tests (13)
System\Windows\Forms\ToolTipTests.cs (7)
644
Assert.Empty(toolTip.
GetToolTip
(control));
654
Assert.Empty(toolTip.
GetToolTip
(control));
657
Assert.Empty(toolTip.
GetToolTip
(control));
675
Assert.Equal(expected, toolTip.
GetToolTip
(control));
679
Assert.Equal(expected, toolTip.
GetToolTip
(control));
696
Assert.Equal(expected, toolTip.
GetToolTip
(control));
700
Assert.Equal(expected, toolTip.
GetToolTip
(control));
System\Windows\Forms\UpDownBaseTests.cs (6)
3021
string actualEditToolTipText = toolTip.
GetToolTip
(upDownBase._upDownEdit);
3022
string actualButtonsToolTipText = toolTip.
GetToolTip
(upDownBase._upDownButtons);
3030
actualEditToolTipText = toolTip.
GetToolTip
(upDownBase._upDownEdit);
3031
actualButtonsToolTipText = toolTip.
GetToolTip
(upDownBase._upDownButtons);
3037
actualEditToolTipText = toolTip.
GetToolTip
(upDownBase._upDownEdit);
3038
actualButtonsToolTipText = toolTip.
GetToolTip
(upDownBase._upDownButtons);