Hello,
I have a UltraTree(default tree view) where I would like to hide the rightimages of a node when expanded, and then show the image(s) again once collapsed. The tree is unbound(populated on the fly), and it is not workable to delete the images and then re add them as they are specific to that node(the appropriate images cannot be determined without completely repopulating the tree). any help would be greatly appreciated!
Thanks and Cheers!
Rick
Hi Rick,
There's no property to hide an image in the ImagesRight collection.
The easiest thing to do would be to handle the BeforeExpand and BeforeCollapse methods and add / remove the images.
Another option would be to use a DrawFilter or CreationFilter to hide the images from the display, but this would leave a space where the images would have been. So I think the first option is better.
Hi Mike,
As I though more about it, I think that I may be able utilize the DrawFilter or Creation Filter to Hide the images. Do you happen to have an example of how I would do this? I have not worked with the DrawFilter or CreationFilter before.
Rhanks,
rick
Thanks for the quick reply!