2 instantiations of TreeNodeCollection
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
780
_nodes ??= new
TreeNodeCollection
(this);
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
891
_nodes ??= new
TreeNodeCollection
(_root);
40 references to TreeNodeCollection
System.Windows.Forms (5)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (2)
102
private
TreeNodeCollection
? _nodes;
776
public
TreeNodeCollection
Nodes
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
252
TreeNodeCollection
treeNodeCollectionToLookIn,
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
126
internal
TreeNodeCollection
? _nodes;
887
public
TreeNodeCollection
Nodes
System.Windows.Forms.Design (13)
System\ComponentModel\Design\ObjectSelectorEditor.Selector.cs (1)
138
public bool SetSelection(object? value,
TreeNodeCollection
? nodes)
System\Windows\Forms\Design\DesignBindingPicker.cs (12)
639
private void AddDataSource(
TreeNodeCollection
? nodes, IComponent dataSource, string? dataMember)
711
private void AddDataSourceContents(
TreeNodeCollection
? nodes, object? dataSource, string? dataMember, PropertyDescriptorCollection? properties)
781
private void AddDataMember(
TreeNodeCollection
? nodes, object? dataSource, string dataMember, string propertyName, bool isList)
840
private void AddDataMemberContents(
TreeNodeCollection
nodes, object? dataSource, string dataMember, bool isList)
907
private void AddDataMemberContents(
TreeNodeCollection
nodes, DataMemberNode dataMemberNode)
971
private void AddProjectGroup(
TreeNodeCollection
? nodes, DataSourceGroup group, bool addMembers)
988
private void AddProjectGroupContents(
TreeNodeCollection
? nodes, DataSourceGroup group)
1008
private void AddProjectDataSource(
TreeNodeCollection
nodes, DataSourceDescriptor descriptor)
1054
private void AddProjectDataSourceContents(
TreeNodeCollection
nodes, DataSourceNode projectDataSourceNode)
1146
private void AddProjectDataMember(
TreeNodeCollection
nodes,
1167
private void AddProjectDataMemberContents(
TreeNodeCollection
nodes,
2021
private static int GetMaxItemWidth(
TreeNodeCollection
nodes)
System.Windows.Forms.Tests (22)
System\Windows\Forms\TreeNodeCollectionTests.cs (22)
17
TreeNodeCollection
collection = treeView.Nodes;
65
TreeNodeCollection
collection = treeView.Nodes;
76
TreeNodeCollection
collection = treeView.Nodes;
85
TreeNodeCollection
collection = treeView.Nodes;
95
TreeNodeCollection
collection = treeView.Nodes;
106
TreeNodeCollection
collection = treeView.Nodes;
120
TreeNodeCollection
collection = treeView.Nodes;
131
TreeNodeCollection
collection = treeView.Nodes;
172
TreeNodeCollection
collection = treeView.Nodes;
210
TreeNodeCollection
collection = treeView.Nodes;
339
var
collection = treeView.Nodes;
344
private
TreeNodeCollection
CreateCollectionWithNodes()
350
TreeNodeCollection
collection = treeView.Nodes;
370
TreeNodeCollection
collection = CreateCollectionWithNodes();
379
TreeNodeCollection
collection = treeView.Nodes;
390
TreeNodeCollection
collection = treeView.Nodes;
415
TreeNodeCollection
collection = treeView.Nodes;
430
TreeNodeCollection
collection = treeView.Nodes;
449
TreeNodeCollection
collection = treeView.Nodes;
491
TreeNodeCollection
collection = treeView.Nodes;
514
var
collection = CreateCollectionWithNodes();
531
var
collection = CreateCollectionWithNodes();