15 writes to ToolTip
System.Windows.Forms (8)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (7)
575
ToolTip
= string.Empty,
2381
ToolTip.
ToolTip
= string.Empty;
2738
ToolTip.
ToolTip
= string.Empty;
3043
ToolTip.
ToolTip
= string.Empty;
3096
ToolTip.
ToolTip
= tip;
3101
ToolTip.
ToolTip
= string.Empty;
3220
ToolTip.
ToolTip
= string.Empty;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (1)
176
PropertyGridView.ToolTip.
ToolTip
= PasswordProtect ? "" : Text;
System.Windows.Forms.Tests (7)
System\Windows\Forms\PropertyGridInternal\GridToolTipTests.cs (7)
31
_toolTip.
ToolTip
= "Test tooltip";
35
_toolTip.
ToolTip
= "Another tooltip";
43
_toolTip.
ToolTip
= null;
51
_toolTip.
ToolTip
= string.Empty;
59
_toolTip.
ToolTip
= new('a', MaximumToolTipLength + 5);
64
_toolTip.
ToolTip
= new('b', MaximumToolTipLength);
73
_toolTip.
ToolTip
= "abc";
11 references to ToolTip
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (2)
91
Caption =
ToolTip
,
152
string? oldText =
ToolTip
;
System.Windows.Forms.Tests (9)
System\Windows\Forms\PropertyGridInternal\GridToolTipTests.cs (9)
33
_toolTip.
ToolTip
.Should().Be("Test tooltip");
37
_toolTip.
ToolTip
.Should().Be("Another tooltip");
45
_toolTip.
ToolTip
.Should().BeNull();
53
_toolTip.
ToolTip
.Should().BeEmpty();
61
_toolTip.
ToolTip
.Should().EndWith("...");
62
_toolTip.
ToolTip
.Length.Should().Be(MaximumToolTipLength + 3);
66
_toolTip.
ToolTip
.Should().NotEndWith("...");
67
_toolTip.
ToolTip
.Length.Should().Be(MaximumToolTipLength);
76
_toolTip.
ToolTip
.Should().Be("abc");