Is there away to multi select in the Winforms Tree View?
Is there away to produce the same behavior as a treeview in a listview or listbox with the expand all and collapse capability
Is there away to multi select in the Winforms Tree View?
Is there away to produce the same behavior as a treeview in a listview or listbox with the expand all and collapse capability
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Joginder BangerRank #360 · 7K reputationPosted Mar 26, 2015, 11:52 AM EDT
In order to get this behavior you would likely end up needing to create a very similar class to TreeView which allowed for multiple selection. Another option is to derive from TreeView and enable multiple selection by overriding specific behaviors. Here is an article on how to do the latter.
try this link
http://www.arstdesign.com/articles/treeviewms.html