2 writes to ContextMenuStrip
System.Windows.Forms (1)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
1359
node.
ContextMenuStrip
= _contextMenuStrip;
System.Windows.Forms.Tests (1)
System\Windows\Forms\TreeNodeTests.cs (1)
4665
ContextMenuStrip
= value as ContextMenuStrip
13 references to ContextMenuStrip
System.Windows.Forms (6)
System\Windows\Forms\Controls\TreeView\TreeView.cs (6)
3057
if (treeNode is not null && treeNode.
ContextMenuStrip
is not null)
3111
if (treeNode.
ContextMenuStrip
is not null)
3113
ContextMenuStrip menu = treeNode.
ContextMenuStrip
;
3428
if (treeNode is not null && treeNode.
ContextMenuStrip
is not null)
3433
if (ClientRectangle.Contains(client) && treeNode.
ContextMenuStrip
is not null)
3436
treeNode.
ContextMenuStrip
.ShowInternal(this, client, keyboardActivated);
System.Windows.Forms.Tests (7)
System\Windows\Forms\TreeNodeCollectionTests.cs (1)
25
Assert.Null(treeNode.
ContextMenuStrip
);
System\Windows\Forms\TreeNodeTests.cs (6)
20
Assert.Null(node.
ContextMenuStrip
);
60
Assert.Null(node.
ContextMenuStrip
);
108
Assert.Null(node.
ContextMenuStrip
);
151
Assert.Null(node.
ContextMenuStrip
);
199
Assert.Null(node.
ContextMenuStrip
);
4668
treeNode.
ContextMenuStrip
.Should().Be(value as ContextMenuStrip);