Controlling images of nodes in a TreeView

Posted by ET on Stack Overflow See other posts from Stack Overflow or by ET
Published on 2010-04-03T13:24:13Z Indexed on 2010/04/03 13:53 UTC
Read the original article Hit count: 142

Filed under:
|

I am trying to make a folder explorer using TreeView control. now, I added an ImageList with two images - one for a folder and the other for selected folder. I used the 'BeforeExpand' event to change the icon of the current node (folder). The problem is that I dont know how to change it back when the user selects other folder... what event can I use? Maybe I dont use it right... ?

© Stack Overflow or respective owner

Related posts about treeview

Related posts about c#