10 instantiations of TreeViewEventArgs
System.Windows.Forms (5)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
1477
tv.OnAfterCollapse(new
TreeViewEventArgs
(this));
System\Windows\Forms\Controls\TreeView\TreeView.cs (4)
1662
OnAfterCheck(new
TreeViewEventArgs
(node, actionTaken));
2473
e = new
TreeViewEventArgs
(node, TreeViewAction.Collapse);
2478
e = new
TreeViewEventArgs
(node, TreeViewAction.Expand);
2539
OnAfterSelect(new
TreeViewEventArgs
(node, action));
System.Windows.Forms.Tests (5)
System\Windows\Forms\TreeViewEventArgsTests.cs (2)
19
TreeViewEventArgs e =
new
(node);
34
TreeViewEventArgs e =
new
(node, action);
System\Windows\Forms\TreeViewTests.cs (3)
5417
yield return new object[] { new
TreeViewEventArgs
(null) };
5418
yield return new object[] { new
TreeViewEventArgs
(new TreeNode()) };
5419
yield return new object[] { new
TreeViewEventArgs
(new TreeNode(), TreeViewAction.ByMouse) };
21 references to TreeViewEventArgs
System.Windows.Forms (7)
System\Windows\Forms\Controls\TreeView\TreeView.cs (5)
2116
protected virtual void OnAfterCheck(
TreeViewEventArgs
e)
2150
protected internal virtual void OnAfterCollapse(
TreeViewEventArgs
e)
2173
protected virtual void OnAfterExpand(
TreeViewEventArgs
e)
2208
protected virtual void OnAfterSelect(
TreeViewEventArgs
e)
2467
TreeViewEventArgs
e;
System\Windows\Forms\Controls\TreeView\TreeViewEventHandler.cs (1)
11
public delegate void TreeViewEventHandler(object? sender,
TreeViewEventArgs
e);
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
373
protected virtual void OnSelChangeSelector(object? source,
TreeViewEventArgs
e)
System.Windows.Forms.Design (4)
System\ComponentModel\Design\ObjectSelectorEditor.Selector.cs (1)
83
protected void OnAfterSelect(object? sender,
TreeViewEventArgs
e)
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1780
private void treeViewCtrl_AfterExpand(object? sender,
TreeViewEventArgs
tvcevent)
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
500
private void treeView1_afterSelect(object sender,
TreeViewEventArgs
e)
System\Windows\Forms\Design\TreeViewDesigner.cs (1)
70
private void TreeViewInvalidate(object? sender,
TreeViewEventArgs
e) => _treeView?.Invalidate();
System.Windows.Forms.Tests (10)
System\Windows\Forms\TreeViewEventArgsTests.cs (2)
19
TreeViewEventArgs
e = new(node);
34
TreeViewEventArgs
e = new(node, action);
System\Windows\Forms\TreeViewTests.cs (8)
5424
public void TreeView_OnAfterCheck_Invoke_CallsAfterCheck(
TreeViewEventArgs
eventArgs)
5450
public void TreeView_OnAfterCollapse_Invoke_CallsAfterCollapse(
TreeViewEventArgs
eventArgs)
5476
public void TreeView_OnAfterExpand_Invoke_CallsAfterExpand(
TreeViewEventArgs
eventArgs)
5535
public void TreeView_OnAfterSelect_Invoke_CallsOnAfterSelect(
TreeViewEventArgs
eventArgs)
7630
public new void OnAfterCheck(
TreeViewEventArgs
e) => base.OnAfterCheck(e);
7632
public new void OnAfterCollapse(
TreeViewEventArgs
e) => base.OnAfterCollapse(e);
7634
public new void OnAfterExpand(
TreeViewEventArgs
e) => base.OnAfterExpand(e);
7638
public new void OnAfterSelect(
TreeViewEventArgs
e) => base.OnAfterSelect(e);