TreeViewAdvDragHighlightTracker

Thread ID:

Created:

Updated:

Platform:

Replies:

I''m building a touchscreen application for industrial use that uses black backgrounds because we do a lot of graphing, etc. (e.g. like AutoCAD). I''m using TreeViewAdvDragHighlightTracker in all my lists and wanted to change the color of the line that appears between nodes to indicate the drop position. I looked at the source and it looks like the color black is hard-coded:
private void DrawDragInsert(Graphics g,int x,int y,int width)
{Pen pen = new Pen(Color.Black,2);
...
Is there any way around this short of changing and compiling the source myself - perhaps by handling an event?

Hi Ken,
Unfortunately, we don''t currently provide a method for setting the Pen to be used with the TreeViewAdvDragHighlightTracker. Right now the only way to do so is to modify the source code. If you want, I can enter this as a Feature Request, though I wouldn''t be able to provide a time frame for it being implemented.
Regards,
Gregory Austin
Syncfusion Inc.