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