how to select an existing TreeNode
-
Hi, I am creating a windows application that has a custom treeview/listview windows explorer. How can I select the corresponding TreeNode of a selected ListView directory?
-
Hi, I am creating a windows application that has a custom treeview/listview windows explorer. How can I select the corresponding TreeNode of a selected ListView directory?
This is easy, the property SelectedNode (TreeView) can not only be read but also be written... treeView1.SelectedNode = treeView1.Nodes[213]; //treeView1.Focus();
-
This is easy, the property SelectedNode (TreeView) can not only be read but also be written... treeView1.SelectedNode = treeView1.Nodes[213]; //treeView1.Focus();
Hi, I can follow that....but treeView1.Nodes[213] does not belong to the Selected ListView Item. how can I find the Node that belongs to this ListView Item?
(ProjectTreeView.SelectedNode.FullPath + "\\" + ProjectListView.SelectedItems[0].Text);