Multiple selection in a TreeView

Posted by Frederick on Stack Overflow See other posts from Stack Overflow or by Frederick
Published on 2009-11-03T06:34:41Z Indexed on 2010/05/05 22:28 UTC
Read the original article Hit count: 155

I am using a Windows Forms TreeView control in my program. I would like to allow the user to select multiple nodes at the same level by dragging their mouse pointer around (also called a "lasso" selection). I don't think a standard TreeView allows that.

My question is what would be the best way to achieve this? Do I have to write custom selection behaviour of my own in perhaps a custom or derived control? Where do I start?

I don't need a detailed explanation. Just a small nudge in the right direction.

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms