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