5 writes to TreeViewNodeSorter
System.Windows.Forms.Tests (5)
System\Windows\Forms\TreeViewTests.cs (5)
4716TreeViewNodeSorter = value 4721treeView.TreeViewNodeSorter = value; 4730TreeViewNodeSorter = StringComparer.CurrentCulture 4734treeView.TreeViewNodeSorter = null; 7135treeView.TreeViewNodeSorter = treeSorter;
9 references to TreeViewNodeSorter
System.Windows.Forms (6)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (4)
1133if (parentTreeView.TreeViewNodeSorter is null) 1163IComparer sorter = parentTreeView.TreeViewNodeSorter; 1201if (parentTreeView is null || parentTreeView.TreeViewNodeSorter is null) 1237IComparer sorter = parentTreeView.TreeViewNodeSorter;
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
348if (tv is not null && tv.TreeViewNodeSorter is not null)
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
1236if (Sorted && TreeViewNodeSorter is null && Nodes.Count >= 1)
System.Windows.Forms.Tests (3)
System\Windows\Forms\TreeViewTests.cs (3)
124Assert.Null(control.TreeViewNodeSorter); 4718Assert.Same(value, treeView.TreeViewNodeSorter); 4722Assert.Same(value, treeView.TreeViewNodeSorter);