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