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