开发者

Implementing multiple selection on TreeView using checkboxes

开发者 https://www.devze.com 2023-02-02 06:37 出处:网络
How do I make it so that when a user selects a tree no开发者_StackOverflow社区de, all of the ones under it will be selected? Is this something I am missing in the properties, or do I have to code this

How do I make it so that when a user selects a tree no开发者_StackOverflow社区de, all of the ones under it will be selected? Is this something I am missing in the properties, or do I have to code this?


It seems that you should code that, it's quite simple, just handle OnChange event of tree node, and set .Checked to all it's siblings.

0

精彩评论

暂无评论...
验证码 换一张
取 消