Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4165
LeftImages and Columns
posted

Hello:

I am using an UltraWinTree and the Outlook Express style. Everything is cool, except, when i add the node, and set the left image, I do not see that image.

I have to do it like this: (this is a for loop that is looping through another tree to write the nodes the column based tree, like windows explorer)

 worknode = utvPVDetails.Nodes.Add(t.Key, t.Text);

worknode.Cells[0].Appearance.Image = ilProject.Images[(Int32)t.LeftImages[0]];

Why can't I just do this:

 worknode.LeftImages.Add((Int32)t.LeftImages[0]);

So that I can utilize the imagelist I have associated with this tree?