6 instantiations of DrawTreeNodeEventArgs
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
2766e = new DrawTreeNodeEventArgs(g, node, bounds, (TreeNodeStates)(state)); 2832DrawTreeNodeEventArgs e = new(g, node, bounds, (TreeNodeStates)(nmtvcd->nmcd.uItemState));
System.Windows.Forms.Tests (4)
System\Windows\Forms\DrawTreeNodeEventArgsTests.cs (2)
24DrawTreeNodeEventArgs e = new(graphics, node, bounds, state); 38DrawTreeNodeEventArgs e = new(graphics, new TreeNode(), new Rectangle(1, 2, 3, 4), TreeNodeStates.Checked)
System\Windows\Forms\TreeViewTests.cs (2)
5668yield return new object[] { new DrawTreeNodeEventArgs(graphics, null, Rectangle.Empty, TreeNodeStates.Checked) }; 5670yield return new object[] { new DrawTreeNodeEventArgs(graphics, new TreeNode(), new Rectangle(1, 2, 3, 4), TreeNodeStates.Checked) };
8 references to DrawTreeNodeEventArgs
System.Windows.Forms (4)
System\Windows\Forms\Controls\TreeView\DrawTreeNodeEventHandler.cs (1)
9public delegate void DrawTreeNodeEventHandler(object? sender, DrawTreeNodeEventArgs e);
System\Windows\Forms\Controls\TreeView\TreeView.cs (3)
1839protected virtual void OnDrawNode(DrawTreeNodeEventArgs e) => 2743DrawTreeNodeEventArgs e; 2832DrawTreeNodeEventArgs e = new(g, node, bounds, (TreeNodeStates)(nmtvcd->nmcd.uItemState));
System.Windows.Forms.Tests (4)
System\Windows\Forms\DrawTreeNodeEventArgsTests.cs (2)
24DrawTreeNodeEventArgs e = new(graphics, node, bounds, state); 38DrawTreeNodeEventArgs e = new(graphics, new TreeNode(), new Rectangle(1, 2, 3, 4), TreeNodeStates.Checked)
System\Windows\Forms\TreeViewTests.cs (2)
5675public void TreeView_OnDrawNode_Invoke_CallsDrawNode(DrawTreeNodeEventArgs eventArgs) 7650public new void OnDrawNode(DrawTreeNodeEventArgs e) => base.OnDrawNode(e);