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)
253TreeNodeCollection 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)
15TreeNodeCollection collection = treeView.Nodes; 63TreeNodeCollection collection = treeView.Nodes; 74TreeNodeCollection collection = treeView.Nodes; 83TreeNodeCollection collection = treeView.Nodes; 93TreeNodeCollection collection = treeView.Nodes; 104TreeNodeCollection collection = treeView.Nodes; 118TreeNodeCollection collection = treeView.Nodes; 129TreeNodeCollection collection = treeView.Nodes; 170TreeNodeCollection collection = treeView.Nodes; 208TreeNodeCollection collection = treeView.Nodes; 337var collection = treeView.Nodes; 342private TreeNodeCollection CreateCollectionWithNodes() 348TreeNodeCollection collection = treeView.Nodes; 368TreeNodeCollection collection = CreateCollectionWithNodes(); 377TreeNodeCollection collection = treeView.Nodes; 388TreeNodeCollection collection = treeView.Nodes; 413TreeNodeCollection collection = treeView.Nodes; 428TreeNodeCollection collection = treeView.Nodes; 447TreeNodeCollection collection = treeView.Nodes; 489TreeNodeCollection collection = treeView.Nodes; 512var collection = CreateCollectionWithNodes(); 529var collection = CreateCollectionWithNodes();