48 writes to ShowNodeToolTips
System.Windows.Forms.Tests (47)
System\Windows\Forms\TreeNode.IKeyboardToolTipTests.cs (16)
18
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
38
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
59
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
80
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
102
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
120
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
136
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
153
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
169
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
188
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
207
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
226
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
247
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
266
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
287
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
407
using TreeView treeView = new() {
ShowNodeToolTips
= showNodeToolTips };
System\Windows\Forms\TreeViewTests.cs (31)
538
ShowNodeToolTips
= showNodeTooltips
577
ShowNodeToolTips
= showNodeTooltips
3912
ShowNodeToolTips
= value
3917
treeView.
ShowNodeToolTips
= value;
3921
treeView.
ShowNodeToolTips
= !value;
3932
treeView.
ShowNodeToolTips
= value;
3936
treeView.
ShowNodeToolTips
= value;
3940
treeView.
ShowNodeToolTips
= !value;
3949
ShowNodeToolTips
= false
3969
treeView.
ShowNodeToolTips
= true;
3975
treeView.
ShowNodeToolTips
= true;
3981
treeView.
ShowNodeToolTips
= false;
3989
treeView.
ShowNodeToolTips
= true;
4000
ShowNodeToolTips
= true
4021
treeView.
ShowNodeToolTips
= true;
4027
treeView.
ShowNodeToolTips
= true;
4033
treeView.
ShowNodeToolTips
= false;
4041
treeView.
ShowNodeToolTips
= true;
6019
ShowNodeToolTips
= true,
6099
ShowNodeToolTips
= true,
6625
treeView.
ShowNodeToolTips
= showNodeToolTips;
6638
treeView.
ShowNodeToolTips
= true;
6654
treeView.
ShowNodeToolTips
= showNodeToolTips;
6668
treeView.
ShowNodeToolTips
= showNodeToolTips;
6687
treeView.
ShowNodeToolTips
= showNodeToolTips;
6708
treeView.
ShowNodeToolTips
= showNodeToolTips;
6729
treeView.
ShowNodeToolTips
= showNodeToolTips;
6747
treeView.
ShowNodeToolTips
= showNodeToolTips;
6773
treeView.
ShowNodeToolTips
= showNodeToolTips;
6787
treeView.
ShowNodeToolTips
= showNodeToolTips;
6811
treeView.
ShowNodeToolTips
= true;
WinFormsControlsTest (1)
TreeViewTest.Designer.cs (1)
50
this.treeView1.
ShowNodeToolTips
= true;
30 references to ShowNodeToolTips
System.Windows.Forms (11)
System\Windows\Forms\Controls\TreeView\TreeNode.IKeyboardToolTip.cs (1)
53
private bool AllowToolTips => TreeView?.
ShowNodeToolTips
?? false;
System\Windows\Forms\Controls\TreeView\TreeView.cs (8)
378
if (
ShowNodeToolTips
&& IsHandleCreated && !DesignMode)
1163
if (
ShowNodeToolTips
!= value)
1166
if (
ShowNodeToolTips
)
1619
if (toolTip is null || !
ShowNodeToolTips
)
1876
if (
ShowNodeToolTips
&& !DesignMode)
2910
bool isExternalTooltip =
ShowNodeToolTips
&& tooltip != KeyboardToolTip;
2931
if (hnode != 0 && tvhip.flags.HasFlag(TVHITTESTINFO_FLAGS.TVHT_ONITEM) && NodeFromHandle(hnode) is { } tn && !
ShowNodeToolTips
)
2965
if (
ShowNodeToolTips
&& tn is not null && (!string.IsNullOrEmpty(tn.ToolTipText)))
System\Windows\Forms\ToolTip\ToolTip.cs (2)
831
if ((control is TreeView tv && tv.
ShowNodeToolTips
)
2163
if (window is TreeView treeView && treeView.
ShowNodeToolTips
)
System.Windows.Forms.Tests (19)
System\Windows\Forms\TreeViewTests.cs (19)
111
Assert.False(control.
ShowNodeToolTips
);
3914
Assert.Equal(value, treeView.
ShowNodeToolTips
);
3918
Assert.Equal(value, treeView.
ShowNodeToolTips
);
3922
Assert.Equal(!value, treeView.
ShowNodeToolTips
);
3933
Assert.Equal(value, treeView.
ShowNodeToolTips
);
3937
Assert.Equal(value, treeView.
ShowNodeToolTips
);
3941
Assert.Equal(!value, treeView.
ShowNodeToolTips
);
3970
Assert.True(treeView.
ShowNodeToolTips
);
3976
Assert.True(treeView.
ShowNodeToolTips
);
3982
Assert.False(treeView.
ShowNodeToolTips
);
3990
Assert.True(treeView.
ShowNodeToolTips
);
4022
Assert.True(treeView.
ShowNodeToolTips
);
4028
Assert.True(treeView.
ShowNodeToolTips
);
4034
Assert.False(treeView.
ShowNodeToolTips
);
4042
Assert.True(treeView.
ShowNodeToolTips
);
6047
Assert.True(control.
ShowNodeToolTips
);
6065
Assert.True(control.
ShowNodeToolTips
);
6128
Assert.True(control.
ShowNodeToolTips
);
6146
Assert.True(control.
ShowNodeToolTips
);