Serialcoder en Français Serialcoder in English
TEL : +33 (0)9 72 13 15 17

Windows Forms FAQ

24. Windows Forms TreeView

24.1 How do I implement Drag and Drop support between two TreeViews?
24.2 How do I make the TreeView scroll when I drag an item to the top or bottom?
24.3 How do I display checkboxes in the nodes of a treeview?
24.4 When I right-click a tree node, it does not become selected. How can I make it be selected on a right-click?
24.5 When I get the SelectedNode in the treeview's Click event, it is the old selection. How do I get the newly selected node?
24.6 How can I get a tooltip to vary from node to node in my treeview?
24.7 How can I determine the node level of a node in my treeview?
24.8 How can I populate a TreeView Control with XML Data?
24.9 How can I clone/copy all the nodes from one TreeView Control to another?
24.10 How do I programmatically select a node in a TreeView control?
24.11 Can I select multiple nodes in a TreeView Control?
24.12 How can I display a context menu when the user right-clicks on a node in the TreeView control?
24.13 How can I ensure that a node is selected when the user clicks along the line of a node?

 

Windows forms FAQ