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)
253
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)
642
private void AddDataSource(
TreeNodeCollection
? nodes, IComponent dataSource, string? dataMember)
714
private void AddDataSourceContents(
TreeNodeCollection
? nodes, object? dataSource, string? dataMember, PropertyDescriptorCollection? properties)
784
private void AddDataMember(
TreeNodeCollection
? nodes, object? dataSource, string dataMember, string propertyName, bool isList)
843
private void AddDataMemberContents(
TreeNodeCollection
nodes, object? dataSource, string dataMember, bool isList)
910
private void AddDataMemberContents(
TreeNodeCollection
nodes, DataMemberNode dataMemberNode)
974
private void AddProjectGroup(
TreeNodeCollection
? nodes, DataSourceGroup group, bool addMembers)
991
private void AddProjectGroupContents(
TreeNodeCollection
? nodes, DataSourceGroup group)
1011
private void AddProjectDataSource(
TreeNodeCollection
nodes, DataSourceDescriptor descriptor)
1057
private void AddProjectDataSourceContents(
TreeNodeCollection
nodes, DataSourceNode projectDataSourceNode)
1149
private void AddProjectDataMember(
TreeNodeCollection
nodes,
1170
private void AddProjectDataMemberContents(
TreeNodeCollection
nodes,
2024
private static int GetMaxItemWidth(
TreeNodeCollection
nodes)
System.Windows.Forms.Tests (22)
System\Windows\Forms\TreeNodeCollectionTests.cs (22)
15
TreeNodeCollection
collection = treeView.Nodes;
63
TreeNodeCollection
collection = treeView.Nodes;
74
TreeNodeCollection
collection = treeView.Nodes;
83
TreeNodeCollection
collection = treeView.Nodes;
93
TreeNodeCollection
collection = treeView.Nodes;
104
TreeNodeCollection
collection = treeView.Nodes;
118
TreeNodeCollection
collection = treeView.Nodes;
129
TreeNodeCollection
collection = treeView.Nodes;
170
TreeNodeCollection
collection = treeView.Nodes;
208
TreeNodeCollection
collection = treeView.Nodes;
337
var
collection = treeView.Nodes;
342
private
TreeNodeCollection
CreateCollectionWithNodes()
348
TreeNodeCollection
collection = treeView.Nodes;
368
TreeNodeCollection
collection = CreateCollectionWithNodes();
377
TreeNodeCollection
collection = treeView.Nodes;
388
TreeNodeCollection
collection = treeView.Nodes;
413
TreeNodeCollection
collection = treeView.Nodes;
428
TreeNodeCollection
collection = treeView.Nodes;
447
TreeNodeCollection
collection = treeView.Nodes;
489
TreeNodeCollection
collection = treeView.Nodes;
512
var
collection = CreateCollectionWithNodes();
529
var
collection = CreateCollectionWithNodes();