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