开发者

DX TreeList - How to chango color of some Node

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜