You have to do this before using the TreeView for anything, e.g. in the Form_Load event. Once done the TreeView will maintain the sort order automatically with very little overhead.
myTreeView.TreeViewNodeSorter = Nothing
myTreeView.Sort()
You have to do this before using the TreeView for anything, e.g. in the Form_Load event. Once done the TreeView will maintain the sort order automatically with very little overhead.
myTreeView.TreeViewNodeSorter = Nothing
myTreeView.Sort()
Powered by WordPress