AnsweredAssumed Answered

Visually separate certain AFElements in AFTreeView/Changing the icon of a node in AFTreeView

Question asked by seneschal on Mar 28, 2014
Latest reply on Jun 24, 2016 by seneschal

Hi,

 

I need a way to visually separate some of the AFElements I am displaying in AFTreeView.

 

My preference is that I would like to dynamically change the icon of certain AFElement nodes, if they meet certain conditions at runtime.

 

I tried adding an ImageList to the tree view, and added an image to the list, but that just replaced ALL of the icons in the tree with my icon.

 

I am ok with any solution that involves providing my own icons, but if there is a way to change the icon using other icons that are already baked into the treeview, then I would be open to reviewing those icons as well.

 

Or if there is a better way, please feel free to suggest. I am considering changing text color, but thats not my favorite idea.

 

Thanks!

 

Dave

Outcomes