开发者

XtraTreeList DevExpress

开发者 https://www.devze.com 2023-03-05 13:35 出处:网络
I am using treelist.OptionsView.ShowCheckBoxes = true; but that shows checkbox on all nodes. I want only child nodes to show CheckBox and not parent node. Any way to imple开发者_StackOverflow中文版men

I am using treelist.OptionsView.ShowCheckBoxes = true; but that shows checkbox on all nodes. I want only child nodes to show CheckBox and not parent node. Any way to imple开发者_StackOverflow中文版ment it ?


This can be done by using the CustomDrawNodeCheckBox event. The Hiding parent node checkboxes in new treelist checkbox feature shows how this can be implemented.


I don't think it is possible. But you can use the CustomDrawCaption event to hide the checkbox on the node you don't want to show it.

0

精彩评论

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