我有DX树列表,它有一些功能,如复制、粘贴、删除等。如何在 C# 代码中将某些节点颜色更改为其他颜色?
最佳答案
你可以看看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
我希望这能回答您的问题。
关于c# - DX TreeList - 如何更改某些节点的颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2341662/