8 instantiations of NodeLabelEditEventArgs
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
2576NodeLabelEditEventArgs e = new(editingNode); 2610NodeLabelEditEventArgs e = new(node, newText);
System.Windows.Forms.Tests (6)
System\Windows\Forms\NodeLabelEditEventArgsTests.cs (3)
19NodeLabelEditEventArgs e = new(node); 36NodeLabelEditEventArgs e = new(node, label); 47NodeLabelEditEventArgs e = new(new TreeNode())
System\Windows\Forms\TreeViewTests.cs (3)
5502yield return new object[] { new NodeLabelEditEventArgs(null) }; 5503yield return new object[] { new NodeLabelEditEventArgs(new TreeNode()) }; 5504yield return new object[] { new NodeLabelEditEventArgs(new TreeNode(), "label") };
12 references to NodeLabelEditEventArgs
System.Windows.Forms (5)
System\Windows\Forms\Controls\TreeView\NodeLabelEditEventHandler.cs (1)
11public delegate void NodeLabelEditEventHandler(object? sender, NodeLabelEditEventArgs e);
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
2093protected virtual void OnBeforeLabelEdit(NodeLabelEditEventArgs e) => 2099protected virtual void OnAfterLabelEdit(NodeLabelEditEventArgs e) 2576NodeLabelEditEventArgs e = new(editingNode); 2610NodeLabelEditEventArgs e = new(node, newText);
System.Windows.Forms.Tests (7)
System\Windows\Forms\NodeLabelEditEventArgsTests.cs (3)
19NodeLabelEditEventArgs e = new(node); 36NodeLabelEditEventArgs e = new(node, label); 47NodeLabelEditEventArgs e = new(new TreeNode())
System\Windows\Forms\TreeViewTests.cs (4)
5509public void TreeView_OnAfterLabelEdit_Invoke_CallsAfterLabelEdit(NodeLabelEditEventArgs eventArgs) 5592public void TreeView_OnBeforeLabelEdit_Invoke_CallsBeforeLabelEdit(NodeLabelEditEventArgs eventArgs) 7636public new void OnAfterLabelEdit(NodeLabelEditEventArgs e) => base.OnAfterLabelEdit(e); 7646public new void OnBeforeLabelEdit(NodeLabelEditEventArgs e) => base.OnBeforeLabelEdit(e);