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)
642private void AddDataSource(TreeNodeCollection? nodes, IComponent dataSource, string? dataMember) 714private void AddDataSourceContents(TreeNodeCollection? nodes, object? dataSource, string? dataMember, PropertyDescriptorCollection? properties) 784private void AddDataMember(TreeNodeCollection? nodes, object? dataSource, string dataMember, string propertyName, bool isList) 843private void AddDataMemberContents(TreeNodeCollection nodes, object? dataSource, string dataMember, bool isList) 910private void AddDataMemberContents(TreeNodeCollection nodes, DataMemberNode dataMemberNode) 974private void AddProjectGroup(TreeNodeCollection? nodes, DataSourceGroup group, bool addMembers) 991private void AddProjectGroupContents(TreeNodeCollection? nodes, DataSourceGroup group) 1011private void AddProjectDataSource(TreeNodeCollection nodes, DataSourceDescriptor descriptor) 1057private void AddProjectDataSourceContents(TreeNodeCollection nodes, DataSourceNode projectDataSourceNode) 1149private void AddProjectDataMember(TreeNodeCollection nodes, 1170private void AddProjectDataMemberContents(TreeNodeCollection nodes, 2024private 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();