Home - Forums-.NET - FlyTreeView (ASP.NET) - change ForeColor on single FlyTreeNode

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

change ForeColor on single FlyTreeNode
Link Posted: 29-Apr-2013 07:38

i need to change ForeColor on some nodes of my treeview

i'm finding a property like this but not exist

   FlyTreeNode ftn = new FlyTreeNode();
   ftn.DefaultStyle.ForeColor = Color.FromName("red");

someone can halp me?
thank you in advance
Link Posted: 29-Apr-2013 09:15
it's ok , I find NodeTypeID property
Link Posted: 29-Apr-2013 09:26
Hi Alfredo,

See the sample:

There is a Tasks node, that is red.
It uses the predefined NodeType for red nodes.