18 writes to Sorted
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
1265Sorted = false; 2397Sorted = true;
System.Windows.Forms.Tests (16)
System\Windows\Forms\TreeViewTests.cs (16)
4335Sorted = value 4340treeView.Sorted = value; 4344treeView.Sorted = !value; 4355treeView.Sorted = value; 4359treeView.Sorted = value; 4363treeView.Sorted = !value; 4372Sorted = false 4392treeView.Sorted = true; 4398treeView.Sorted = true; 4404treeView.Sorted = false; 4412treeView.Sorted = true; 4423Sorted = false 4444treeView.Sorted = true; 4450treeView.Sorted = true; 4456treeView.Sorted = false; 4464treeView.Sorted = true;
22 references to Sorted
System.Windows.Forms (5)
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (3)
223if (!LocalAppContextSwitches.TreeNodeCollectionAddRangeRespectsSortOrder || tv is null || !tv.Sorted) 320if (tv is not null && tv.Sorted) 456if (tv is not null && tv.Sorted)
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
1233if (Sorted != value) 1236if (Sorted && TreeViewNodeSorter is null && Nodes.Count >= 1)
System.Windows.Forms.Tests (17)
System\Windows\Forms\TreeViewTests.cs (17)
116Assert.False(control.Sorted); 4337Assert.Equal(value, treeView.Sorted); 4341Assert.Equal(value, treeView.Sorted); 4345Assert.Equal(!value, treeView.Sorted); 4356Assert.Equal(value, treeView.Sorted); 4360Assert.Equal(value, treeView.Sorted); 4364Assert.Equal(!value, treeView.Sorted); 4393Assert.True(treeView.Sorted); 4399Assert.True(treeView.Sorted); 4405Assert.False(treeView.Sorted); 4413Assert.True(treeView.Sorted); 4445Assert.True(treeView.Sorted); 4451Assert.True(treeView.Sorted); 4457Assert.False(treeView.Sorted); 4465Assert.True(treeView.Sorted); 4732Assert.True(treeView.Sorted); 4735Assert.False(treeView.Sorted);