6 Answers, 1 is accepted
I don't believe that it's possible to have multiple images on the left and right of the nodes.
You can however add an image to the right of the node text using
And Set the left image
The other way to have multiple images is to make one image that looks like multiple images and set that to be either the Image or FarImage property.
You can also set the state image (expanded, collapsed etc..) as per this article.
Hope that helps
Richard is right, by default it is not possible to do that, and because RadTreeView is not yet meant to support virtualization, you cannot do this in a clean and logical way, but as i like to think everything is possible if you really want to, so in order to test this, i have created a small test application that will take a list of images, concatenate them all into one image and display it on the left of the TreeNode
Code as follows C#:
Hope this helps, if you have any other questions or comments, please let me know,
*Update changed the increment in the foreach statement because of a conversion error;
*Update2, i forgot to tell you that you cannot do the same for the FarImage, because they forgot to make it virtual, every other property like FarImageIndex, SelectedFarImage, and others are virtual, I'm hoping someone from Telerik will read this post, and then i would like to ask them very nicely to add a:
TODO: Make FarImage property in RadTreeNode virtual.
If you drag over this new node type how do you get the class name it was created by "Customtreenode" not "radtreenode"?
Its Ok I have found this .
It is found by
Dim N As InheritedClass = TryCast(TargetElement.Data, InheritedClass)
Thank you for writing.
I am glad that you have found the appropriate solution. If you have any additional questions, please let me know.