6 writes to ToolTipText
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1358
node.
ToolTipText
= _toolTipText;
1506
ToolTipText
= serializationInfo.GetString(entry.Name)!;
System.Windows.Forms.Tests (4)
SerializableTypesTests.cs (1)
348
ToolTipText
= "tool tip text",
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (1)
82
TreeNode treeNode = new() {
ToolTipText
= toolTipText };
System\Windows\Forms\TreeNodeTests.cs (2)
4493
ToolTipText
= value
4498
node.
ToolTipText
= value;
14 references to ToolTipText
System.Windows.Forms (5)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
1505
case nameof(
ToolTipText
):
2061
si.AddValue(nameof(
ToolTipText
), _toolTipText);
System\Windows\Forms\Controls\TreeView\TreeNode.IKeyboardToolTip.cs (1)
16
string IKeyboardToolTip.GetCaptionForTool(ToolTip toolTip) =>
ToolTipText
;
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
2965
if (ShowNodeToolTips && tn is not null && (!string.IsNullOrEmpty(tn.
ToolTipText
)))
2967
tipText = tn.
ToolTipText
;
System.Windows.Forms.Tests (9)
SerializableTypesTests.cs (1)
374
Assert.Equal("tool tip text", result.
ToolTipText
);
System\Windows\Forms\TreeNodeCollectionTests.cs (1)
53
Assert.Empty(treeNode.
ToolTipText
);
System\Windows\Forms\TreeNodeTests.cs (7)
48
Assert.Empty(node.
ToolTipText
);
88
Assert.Empty(node.
ToolTipText
);
136
Assert.Empty(node.
ToolTipText
);
179
Assert.Empty(node.
ToolTipText
);
227
Assert.Empty(node.
ToolTipText
);
4495
Assert.Same(value, node.
ToolTipText
);
4499
Assert.Same(value, node.
ToolTipText
);