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