This question is locked. New answers and comments are not allowed.
For example, we have TreeView with 2 nodes: 1st node is root, 2nd node is child of 1st.
Every node that is contained in TreeView.Items collection can be easily deleted by:
1st node can be easily deleted by that code. But 2nd node cannot, because it is not contained in TreeView.Items collection.
How to delete any subitem of TreeView without going to recursion whole tree?
Every node that is contained in TreeView.Items collection can be easily deleted by:
treeview.Items.Remove(treeview.SelectedItem);How to delete any subitem of TreeView without going to recursion whole tree?
