开发者

DX TreeList - How to chango color of some Node

开发者 https://www.devze.com 2022-12-21 14:12 出处:网络
i have DX 开发者_开发技巧treeList, it has some functionality like copy, paste, delete and so on. How to do in C# code, to change some Node color to change to some other color?You could take a look her

i have DX 开发者_开发技巧treeList, it has some functionality like copy, paste, delete and so on. How to do in C# code, to change some Node color to change to some other color?


You could take a look here

The appearance of individual cells can be customized by handling the TreeList.NodeCellStyle event. This event is fired for each cell before it's painted. The other way to change the appearance of cells is to handle the TreeList.CustomDrawNodeCell event. Note that changing the appearance of elements via custom draw events is not in effect when the control is printed and exported. For more information on implementing custom painting, see Custom Draw

I hope that answers your question.

0

精彩评论

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