Hi Thomas,
The SelectedNode in the TreeViewAdv can be highlighted through changing its color by handling TreeViewAdv BeforeNodePaint Event handler:
Code:
private void treeViewAdv1_BeforeNodePaint(object sender,Syncfusion.Windows.Forms.Tools.TreeNodeAdvPaintEventArgs e)
{
if(e.Node.IsSelected==true)
{
SolidBrush brush=new SolidBrush(Color.LightSalmon);
Rectangle rec=new Rectangle(e.Node.TextBounds.X,e.Node.TextBounds.Y,
e.Node.TextBounds.Width,e.Node.TextBounds.Height);
e.Graphics.FillRectangle(brush,rec);
}
}
Please take a look at the attached sample and let me know if this helps you.
SelectedNodeHighlight
Thanks for your interest in Syncfusion products.
Kind Regards,
Deepa.