I build a tree with nodes within a methode:
clsNode = new Infragistics.Win.UltraWinTree.UltraTreeNode().
clsNode:text = TreeBranch.qmenutit.
clsNode:key = TreeBranch.qmenuid.
add the node to the tree
UltraTreeMenu:Nodes:Add(clsNode).
than pass the node to an other method to add branches.
AddTreeBranch(TreeBranch.qmenuid, clsNode).
When I run the program none of the nodes are visual.
Just looking to and empty tree. While a counter I have set to the methods 57 nodes have been created.
Hello,
Thank you for contacting Infragistics.
In order to display regular nodes without columnsets, the ViewStyle of the tree needs to be set to ViewStyle.Standard.
Please let me know if you have any other questions about this.
Hi Dave,
Thank you kindly for your answer. It worked.
Have an additional question. I have a image list linked to the treeview.
But I cannot find to link specific image to the nodes.
Kind regards,
Peter
Hello Peter,
Thank you for your response.
The nodes in the tree have the ability to display multiple images at a time on the left and right sides of the node. If all you want to do is to display a single image on the left side of the node, use a line of code similar to node.LeftImages.Add(indexOfImage). See the link below for more information.
http://help.infragistics.com/doc/WinForms/2014.1/CLR4.0/?page=WinTree_Add_Multiple_Images_to_a_Node.html